Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
drop-last
drop-last
function
v1.0
clojure.core/drop-last
Available in:
BB
CLJ
CLJS
(
drop-last
[
coll
]
[
n
coll
]
)
Return a lazy sequence of all but the last n (default 1) items in coll
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-while
View source on GitHub ↗
← drop
drop-while →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4