Skip to main content

update-vals

functionv1.11

clojure.core/update-vals

Available in:BBCLJCLJS
(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.

No examples yet. Be the first to add one!