Liking cljdoc? Tell your friends :D

representations.schema.v0.common


env?clj

(env? x)

Returns true if x is an environment variable reference (env:VAR_NAME) with a non-empty var name.

Returns true if x is an environment variable reference (env:VAR_NAME) with a non-empty var name.
raw docstring

ref?clj

(ref? x)

Returns true if x is a reference string (ref:name) with a non-empty name.

Returns true if x is a reference string (ref:name) with a non-empty name.
raw docstring

resolve-env-varclj

(resolve-env-var x)

Resolves an environment variable reference to its value. Returns the value from the environment, or nil if x is not an env var or the var is not set.

Resolves an environment variable reference to its value.
Returns the value from the environment, or nil if x is not an env var or the var is not set.
raw docstring

unrefclj

(unref x)

Strips the 'ref:' prefix from a reference string. Returns the name portion, or nil if x is not a ref.

Strips the 'ref:' prefix from a reference string.
Returns the name portion, or nil if x is not a ref.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close