You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
shaunlebron commentedon Oct 12, 2022
assoc!
(assoc! tcoll key val)(assoc! tcoll key val & kvs)Summary
assoc(iate) on transient collection
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.
Examples
See Also
Source
clojurescript:src/main/cljs/cljs/core.cljs