ClojureDocs

Nav

Namespaces

filter

clojure.core

Available since 1.0 (source)
  • (filter pred)
  • (filter pred coll)
Returns a lazy sequence of the items in coll for which
(pred item) returns logical true. pred must be free of side-effects.
Returns a transducer when no collection is provided.