Skip to main content

take

functionv1.7

cljs.core/take

Available in:BBCLJCLJS
(take [n] [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.

No examples yet. Be the first to add one!