Returns a new array with the first count elements removed. Returns an empty array if count is not an integer or is negative.
count
import * as A from "flurp/array";const withoutFirstThree = A.dropLast(3);withoutFirstThree([10, 20, 30, 40, 50]); // [40, 50]withoutFirstThree([10, 20]); // []
Returns a new array with the first
count
elements removed. Returns an empty array ifcount
is not an integer or is negative.Example