action-debian-package/node_modules/ramda/es/internal/_dropLast.js
Dawid Dziurla 9308795b8b
update
2020-03-26 15:37:35 +01:00

4 lines
128 B
JavaScript

import take from "../take.js";
export default function dropLast(n, xs) {
return take(n < xs.length ? xs.length - n : 0, xs);
}