| function | since v0.0-927 | Edit |
(find coll k)Returns the map entry for key k, or nil if k is not found.
Returns the map entry for key, or nil if key not present.
(defn find
[coll k]
(if (ifind? coll)
(-find coll k)
(when (and (not (nil? coll))
(associative? coll)
(contains? coll k))
(MapEntry. k (get coll k) nil))))