Skip to main content

when-first

macrov1.0

clojure.core/when-first

Available in:BBCLJCLJS
(when-first [bindings & body])
bindings => x xs Roughly the same as (when (seq xs) (let [x (first xs)] body)) but xs is evaluated only once

No examples yet. Be the first to add one!