ClojureDocs

Nav

Namespaces

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

if-some

clojure.core

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