Skip to content

clojure.core/dissoc

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 5 Runnable: 3
([map] [map key] [map key & ks])

dissoc[iate]. Returns a new map of the same (hashed/sorted) type, that does not contain a mapping for key(s).

Examples

by zmila on
by timgilbert on
by skuro on . May have evaluation errors.
by RobinNagpal on . May have evaluation errors.
by Em-AK on

Note by u473t8

(update {} :a dissoc :b) => {:a nil}

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.