ffirst

added
1.0

ns
clojure.core

type
function

(ffirst x)

Same as (first (first x))

                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
            
                user=> (first [1])
1

user=> (ffirst [[1]])
1