Liking cljdoc? Tell your friends :D

ventas.common.utils


bigdec->strclj/s

(bigdec->str v)
source

deep-mergeclj/s

(deep-merge & maps)

Like merge, but merges maps recursively. See: https://dev.clojure.org/jira/browse/CLJ-1468

Like merge, but merges maps recursively.
See: https://dev.clojure.org/jira/browse/CLJ-1468
sourceraw docstring

find-firstclj/s

(find-first pred coll)

Finds the first value from coll that satisfies pred. Returns nil if it doesn't find such a value.

Finds the first value from coll that satisfies pred.
Returns nil if it doesn't find such a value.
sourceraw docstring

find-indexclj/s

(find-index pred coll)

Returns the index of the first value in coll that satisfies pred

Returns the index of the first value in `coll` that satisfies `pred`
sourceraw docstring

group-by-keywordclj/s

(group-by-keyword kw coll)

Same as group-by but dissocs the keyword used for grouping the items

Same as group-by but dissocs the keyword used for grouping the items
sourceraw docstring

index-byclj/s

(index-by keyword coll)

Indexes a collection using the given keyword as key

Indexes a collection using the given keyword as key
sourceraw docstring

into-nclj/s

(into-n & vs)
source

map-keysclj/s

(map-keys f m)
source

map-kvclj/s

(map-kv f m)

Syntax sugar for map->map transformations

Syntax sugar for map->map transformations
sourceraw docstring

map-leavesclj/s

(map-leaves f v)

Applies f to all 'leaves' (anything that is not sequential or a map)

Applies f to all 'leaves' (anything that is not sequential or a map)
sourceraw docstring

map-valsclj/s

(map-vals f m)
source

read-keywordclj/s

(read-keyword str)
source

remove-nil-valsclj/s

(remove-nil-vals m)

Removes nil values from a map

Removes nil values from a map
sourceraw docstring

str->bigdecclj/s

(str->bigdec v)
source

tree-byclj/s

(tree-by id-key parent-key coll & [parent])

Creates a recursive structure from a flat structure

Creates a recursive structure from a flat structure
sourceraw docstring

update-in-when-someclj/s

(update-in-when-some m ks f)
source

update-when-someclj/s

(update-when-some m k f)

Like update but does not do anything if the value does not exist or is nil

Like `update` but does not do anything if the value does not exist or is nil
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close