(assoc-existing o p v)Assocs k->v onto o only when key p already has a truthy value in o.
Assocs k->v onto o only when key p already has a truthy value in o.
(assoc-if o p v when?)Assocs k->v onto o only when when? is truthy; otherwise returns o unchanged.
Assocs k->v onto o only when when? is truthy; otherwise returns o unchanged.
(update-existing o p v)Updates key p in o with fn v only when p already has a truthy value in o.
Updates key p in o with fn v only when p already has a truthy value in o.
(update-if o p v when?)Updates key p in o with fn v only when when? is truthy; otherwise returns o unchanged.
Updates key p in o with fn v only when when? is truthy; otherwise returns o unchanged.
(update-in-existing o p v)Updates path p in o with fn v only when the path already has a truthy value in o.
Updates path p in o with fn v only when the path already has a truthy value in o.
(update-in-if o p v when?)Updates path p in o with fn v only when when? is truthy; otherwise returns o unchanged.
Updates path p in o with fn v only when when? is truthy; otherwise returns o unchanged.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |