Liking cljdoc? Tell your friends :D

rulescript.lang.operations


all?clj

(all? bools)
source

complete?cljmultimethod

source

conditionalcljmacro

(conditional on test & clauses)

Match test with a number of paired clauses. If test matches the first element of a pair, return the second element.

Match test with a number of paired clauses.
If test matches the first element of a pair, return the second element.
sourceraw docstring

each-ofcljmacro

(each-of elements existence fn)
source

failclj

source

incljmacro

(in data verb & fields)

Retrieve data from a map. Symbols in fields are converted to keyword keys. if verb is 'get', dive through the map as get-in. if verb is 'find-each', return each location from the map. a location can be given as a sequence, in which case the sequence acts like a get-in on the map. if verb is 'extract', return the same location from each element of a sequence. (in data find foo bar) => (get-in data [:foo :bar]) (in data find-each (foo bar) baz) => (map #(get-in data %) '([:foo :bar] [:baz]) ) (in data extract foo bar) => (map #(get-in % [:foo :bar]) data)

Retrieve data from a map. Symbols in fields are converted to keyword keys.
if verb is 'get', dive through the map as get-in.
if verb is 'find-each', return each location from the map. a location can be given as a sequence, in which case the sequence acts like a get-in on the map.
if verb is 'extract', return the same location from each element of a sequence.
(in data find foo bar)            => (get-in data [:foo :bar])
(in data find-each (foo bar) baz) => (map #(get-in data %) '([:foo :bar] [:baz]) )
(in data extract foo bar)         => (map #(get-in % [:foo :bar]) data)
sourceraw docstring

noclj

source

none?clj

(none? bools)
source

not-okclj

source

okclj

source

passclj

source

warnclj

source

yesclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close