• (key e)
Returns the key of the map entry.

1 Example top

  • user=> (map key {:a 1 :b 2})
    (:a :b)
    
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:1460 top

(defn key
  "Returns the key of the map entry."
  {:added "1.0"
   :static true}
  [^java.util.Map$Entry e]
    (. e (getKey)))
Vars in clojure.core/key:
Used in 0 other vars

Comments top

No comments for key. Log in to add a comment.