Liking cljdoc? Tell your friends :D

representations.core


default-invariantsclj

Default invariants to check (parse-valid is always checked first automatically).

Default invariants to check (parse-valid is always checked first automatically).
raw docstring

env?clj

(env? x)

Returns true if x is an environment variable reference (env:VAR_NAME).

Returns true if x is an environment variable reference (env:VAR_NAME).
raw docstring

invariant-violationsclj

(invariant-violations edns)
(invariant-violations edns additional-invariants)

Returns invariant violations (or nil if there were none).

Always checks parse-valid first. For successfully parsed representations, runs the additional invariants provided (defaults to all standard invariants).

There is no way to skip the parse-valid check - it is always run first.

Returns invariant violations (or nil if there were none).

Always checks parse-valid first. For successfully parsed representations,
runs the additional invariants provided (defaults to all standard invariants).

There is no way to skip the parse-valid check - it is always run first.
raw docstring

latest-versionclj

The most recent stable version for representations

The most recent stable version for representations
raw docstring

parse-allclj

(parse-all edns)

ref?clj

(ref? x)

Returns true if x is a reference string (ref:name).

Returns true if x is a reference string (ref: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