Skip to content

clojure.core/when-some

View this page on ClojureDocs

Type: macro Added: Clojure 1.6 Examples: 3 Runnable: 3
([bindings & body])

bindings => binding-form test

When test is not nil, evaluates body with binding-form bound to the value of test

Examples

by Dimagog on
by viper110110 on
by brunchboy on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.