drop
ts
function Array.drop<T>(
target: readonly T[],
amount: number,
): readonly T[]Removes the first amount elements from array.
Example
ts
import { Array } from "@monstermann/array";
Array.drop([1, 2, 3, 4, 5], 2); // [3, 4, 5]ts
import { Array } from "@monstermann/array";
pipe([1, 2, 3, 4, 5], Array.drop(2)); // [3, 4, 5]