ClojureDocs

Nav

Namespaces

core.async
core.logic
data.csv
spec.alpha
tools.build
  • clojure
tools.deps

take

clojure.core

Available since 1.0 (source) Clojure/JVMClojureScriptbabashka
  • (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.