Returns a sequence of the map's keys, in the same order as (seq map).
(keys {:keys :and, :some :values}) ;;=> (:keys :some) (keys {}) ;;=> nil (keys nil) ;;=> nil
;; although doc says it only takes a map, this still works: (keys (filter (fn [[_ v]] (-> v :t)) {:a {:t true} :b {:t false} :c {:t true}})) ;;=> (:a :c)
Returns a sequence of the map's values, in the same order as (seq map).
keyval => key val Returns a new hash map with supplied mappings. If any keys are equal, they ar...
Returns the key of the map entry.
Returns a map containing only those entries in map whose key is in keys
Functions keys and vals return sequences such that
(= (zipmap (keys m) (vals m)) m)
I noticed that the keys are not always returned in the same order. Usually they are, but not always.
Map with 8 or more keys order are unexpected.