ClojureDocs

Nav

Namespaces

update-vals

clojure.core

Available since 1.11 (source)
  • (update-vals m f)
m f => {k (f v) ...}
 Given a map m and a function f of 1-argument, returns a new map where the keys of m
are mapped to result of applying f to the corresponding values of m.