clo-utils.core
if-empty
macro
(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.
if-nil
macro
(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.
if=
macro
(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.
when-empty
macro
(when-empty test & body)
Evaluates test. If test value empty, evaluates body in an implicit do.
when-nil
macro
(when-nil test & body)
Evaluates test. If nil, evaluates body in an implicit do.
when-not-empty
macro
(when-not-empty test & body)
Evaluates test. If test not empty, evaluates body in an implicit do.
when-not-nil
macro
(when-not-nil test & body)
Evaluates test. If not nil, evaluates body in an implicit do.