user=> (find {:b 2 :a 1 :c 3} :d) nil user=> (find {:b 2 :a 1 :c 3} :a) [:a 1]
user=> (find [:a :b :c :d] 2) [2 :c] user=> (find [:a :b :c :d] 5) nil
Returns the value mapped to key, not-found or nil if key not present.
Returns the value in a nested associative structure, where ks is a
(defn find "Returns the map entry for key, or nil if key not present." {:added "1.0" :static true} [map key] (. clojure.lang.RT (find map key)))
Comments top
No comments for find. Log in to add a comment.