ClojureDocs

Nav

Namespaces

core.async
core.logic
data.csv
spec.alpha
tools.build
  • clojure
tools.deps

if-let

clojure.core

Available since 1.0 (source) Clojure/JVMClojureScriptbabashka
  • (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