user=> (ffirst '([])) nil user=> (ffirst ['(a b c) '(b a c)]) a user=> (ffirst '([a b c] [b a c])) a
user=> (first {:b 2 :a 1 :c 3}) [:b 2] user=> (ffirst {:b 2 :a 1 :c 3}) :b
Returns the first item in the collection. Calls seq on its argume
Same as (first (next x))
Same as (next (first x))
(def ^{:doc "Same as (first (first x))" :arglists '([x]) :added "1.0" :static true} ffirst (fn ^:static ffirst [x] (first (first x))))
Comments top
No comments for ffirst. Log in to add a comment.