Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
first
first
function
v1.0
clojure.core/first
Available in:
BB
CLJ
CLJS
(
first
[
coll
]
)
Returns the first item in the collection. Calls seq on its argument. If coll is nil, returns nil.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Collections › Accessing
See Also
count
empty
find
get
get-in
key
keys
last
next
nth
View source on GitHub ↗
← find-var
flatten →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4