ClojureDocs

Nav

Namespaces

if-some

clojure.core

Available since 1.6 (source)
  • (if-some bindings then)
  • (if-some bindings then else & oldform)
bindings => binding-form test
  If test is not nil, evaluates then with binding-form bound to the
 value of test, if not, yields else