Liking cljdoc? Tell your friends :D

taia.ds.extensions.interface


assoc-existingclj

(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.
sourceraw docstring

assoc-ifclj

(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.
sourceraw docstring

update-existingclj

(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.
sourceraw docstring

update-ifclj

(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.
sourceraw docstring

update-in-existingclj

(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.
sourceraw docstring

update-in-ifclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close