Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Babashka
clojure.core
count
count
function
v1.0
clojure.core/count
Available in:
BB
CLJ
CLJS
(
count
[
coll
]
)
Returns the number of items in the collection. (count nil) returns 0. Also works on strings, arrays, and Java Collections and Maps
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
empty
find
find
first
get
get
get
get
get
get-in
← contains?
counted? →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4