not-empty

functionsince v0.0-927 clojure.core/not-emptyEdit
(not-empty coll)

Details:

Returns nil if coll is empty, else returns coll.


See Also:


Source docstring:
If coll is empty, returns nil, else coll
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn not-empty
  [coll] (when (seq coll) coll))