Liking cljdoc? Tell your friends :D
All platforms.

com.yetanalytics.persephone.utils.maps


mapify-collclj/s

(mapify-coll coll & {:keys [string?]})

Given a coll containing IDs, turn it into an ID-to-object map. If :string? is true, use "id" as the ID key; otherwise use :id.

Given a `coll` containing IDs, turn it into an ID-to-object
map. If :string? is true, use `"id"` as the ID key; otherwise
use `:id`.
sourceraw docstring

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

× close