Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
not-empty
not-empty
function
v1.0
clojure.core/not-empty
Available in:
BB
CLJ
CLJS
(
not-empty
[
coll
]
)
If coll is empty, returns nil, else coll
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Collections › Predicates
See Also
associative?
chunked-seq?
coll?
contains?
counted?
distinct?
empty?
every?
indexed?
list?
View source on GitHub ↗
← not-any?
not-every? →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4