ClojureDocs

Nav

Namespaces

take

clojure.core

Available since 1.0 (source)
  • (take n)
  • (take n coll)
Returns a lazy sequence of the first n items in coll, or all items if
there are fewer than n.  Returns a stateful transducer when
no collection is provided.