ClojureDocs

Nav

Namespaces

if-let

clojure.core

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