source: node_modules/ramda/es/internal/_dropLast.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 128 bytes
RevLine 
[d24f17c]1import take from "../take.js";
2export default function dropLast(n, xs) {
3 return take(n < xs.length ? xs.length - n : 0, xs);
4}
Note: See TracBrowser for help on using the repository browser.