Skip to main content

assoc!

functionv1.1

clojure.core/assoc!

Available in:BBCLJCLJS
(assoc! [coll key val] [coll key val & kvs])
When applied to a transient map, adds mapping of key(s) to val(s). When applied to a transient vector, sets the val at index. Note - index must be <= (count vector). Returns coll.

No examples yet. Be the first to add one!