(rontolisp) docs
← Maps, sets and vectors

find

(find coll key)

clojure.core/find: the entry [key value] (a two-element vector) coll holds under key, or nil when it holds none. A map or record answers the key it stores (keys compare by =, so a vector key finds an = list key); a vector takes an integer index in range and answers [index member]; nil is nil. Any other coll (a set, a string, a list) signals. As a value a two-argument function.