Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
ClojureScript
cljs.core
take-nth
take-nth
function
v1.7
cljs.core/take-nth
Available in:
BB
CLJ
CLJS
(
take-nth
[
n
]
[
n
coll
]
)
Returns a lazy seq of every nth item in coll. Returns a stateful transducer when no collection is provided.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Collections › Transformation
See Also
butlast
cat
concat
dedupe
distinct
doall
dorun
doseq
drop
drop-last
← take-last
take-while →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4