function boot.janet on line 994, column 1 (find pred ind) Find the first value in an indexed collection that satisfies a predicate. Returns nil if not found. Note there is no way to differentiate a nil from the indexed collection and a not found. Consider find-index if this is an issue.
(def h ["a" "b" :c]) # => ("a" "b" :c) (find (fn [a] (= "a" a)) h) # => "a"