Liking cljdoc? Tell your friends :D

clo-utils.core


if-emptycljmacro

(if-empty test then)
(if-empty test then else)

Evaluates test. If test value empty, evaluates and returns then expr, otherwise else expr, if supplied, else nil.

Evaluates test. If test value empty, evaluates and returns then expr,
otherwise else expr, if supplied, else nil.
sourceraw docstring

if-nilcljmacro

(if-nil test then)
(if-nil test then else)

Evaluates test. If nil, evaluates and returns then expr, otherwise else expr, if supplied, else nil.

Evaluates test. If nil, evaluates and returns then expr,
otherwise else expr, if supplied, else nil.
sourceraw docstring

if=cljmacro

(if= first second then)
(if= first second then else)

Evaluates test. If first equal second, evaluates and returns then expr, otherwise else expr, if supplied, else nil.

Evaluates test. If first equal second, evaluates and returns then expr,
otherwise else expr, if supplied, else nil.
sourceraw docstring

when-emptycljmacro

(when-empty test & body)

Evaluates test. If test value empty, evaluates body in an implicit do.

Evaluates test. If test value empty, evaluates body in an implicit do.
sourceraw docstring

when-nilcljmacro

(when-nil test & body)

Evaluates test. If nil, evaluates body in an implicit do.

Evaluates test. If nil, evaluates body in an implicit do.
sourceraw docstring

when-not-emptycljmacro

(when-not-empty test & body)

Evaluates test. If test not empty, evaluates body in an implicit do.

Evaluates test. If test not empty, evaluates body in an implicit do.
sourceraw docstring

when-not-nilcljmacro

(when-not-nil test & body)

Evaluates test. If not nil, evaluates body in an implicit do.

Evaluates test. If not nil, evaluates body in an implicit do.
sourceraw 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