source:
node_modules/ramda/src/internal/_dropLast.js
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 159 bytes |
Rev | Line | |
---|---|---|
[d24f17c] | 1 | var take = |
2 | /*#__PURE__*/ | |
3 | require("../take.js"); | |
4 | ||
5 | function dropLast(n, xs) { | |
6 | return take(n < xs.length ? xs.length - n : 0, xs); | |
7 | } | |
8 | ||
9 | module.exports = dropLast; |
Note:
See TracBrowser
for help on using the repository browser.