(->>> & form)
Takes a set of functions and value at the end of the arguments. Returns a result that is the composition of those funtions.Applies the rightmost of fns to the args(last arg is the value/input!), the next fn (left-to-right) to the result, etc.
Takes a set of functions and value at the end of the arguments. Returns a result that is the composition of those funtions.Applies the rightmost of fns to the args(last arg is the value/input!), the next fn (left-to-right) to the result, etc.
(assert-all & pairs)
(assert-all fnname & pairs)
Internal - do not use!
Internal - do not use!
(if-let* bindings then)
(if-let* bindings then else)
Multiple binding version of if-let
Multiple binding version of if-let
(nth-safe coll n)
(nth-safe coll n not-found)
Returns the value at the index. get returns nil if index out of bounds,unlike nth nth-safe does not throw an exception, returns nil instead.nth-safe also works for strings, Java arrays, regex Matchers and Lists, and, in O(n) time, for sequences.
Returns the value at the index. get returns nil if index out of bounds,unlike nth nth-safe does not throw an exception, returns nil instead.nth-safe also works for strings, Java arrays, regex Matchers and Lists, and, in O(n) time, for sequences.
(when-let* bindings & body)
Multiple binding version of when-let
Multiple binding version of when-let
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close