Skip to main content

doto

macrov1.7

cljs.core/doto

Available in:BBCLJCLJS
(doto [x & forms])
Evaluates x then calls all of the methods and functions with the value of x supplied at the front of the given arguments. The forms are evaluated in order. Returns x. (doto (new js/Map) (.set "a" 1) (.set "b" 2))

No examples yet. Be the first to add one!