General-purpose Clojure functions.
General-purpose Clojure functions.
(remove-nil-values m)
Removes entries containing nil values from a map.
Removes entries containing nil values from a map.
(unique-by f s)
Returns a list of items in a sequence for which a function returns unique values. For example, to return a list of maps in a list with a unique :id field, you could run (unique-by :id map-list).
Returns a list of items in a sequence for which a function returns unique values. For example, to return a list of maps in a list with a unique :id field, you could run (unique-by :id map-list).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close