Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
ClojureScript
cljs.core
count
count
function
v1.7
cljs.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 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
first
get
get-in
key
keys
last
next
nth
← copy-arguments
counted? →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4