• (keys map)
Returns a sequence of the map's keys.

1 Example top

  • user=> (keys {:keys :and, :some :values})
    (:keys :some)
    
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:1448 top

(defn keys
  "Returns a sequence of the map's keys."
  {:added "1.0"
   :static true}
  [map] (. clojure.lang.RT (keys map)))
Vars in clojure.core/keys:
Used in 0 other vars

Comments top

1 comment(s) for keys.

Functions keys and vals return sequences such that

(= (zipmap (keys m) (vals m)) m)
Log in to add a comment.