ClojureDocs

Nav

Namespaces

keep

clojure.core

Available since 1.2 (source)
  • (keep f)
  • (keep f coll)
Returns a lazy sequence of the non-nil results of (f item). Note,
this means false return values will be included.  f must be free of
side-effects.  Returns a transducer when no collection is provided.