init
This commit is contained in:
4
node_modules/ramda/es/internal/_dropLast.js
generated
vendored
Normal file
4
node_modules/ramda/es/internal/_dropLast.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
import take from "../take.js";
|
||||
export default function dropLast(n, xs) {
|
||||
return take(n < xs.length ? xs.length - n : 0, xs);
|
||||
}
|
Reference in New Issue
Block a user