//#region src/Array/drop.d.ts /** * # drop * * ```ts * function Array.drop( * target: readonly T[], * amount: number, * ): readonly T[] * ``` * * Removes the first `amount` elements from `array`. * * ## Example * * ```ts [data-first] * import { Array } from "@monstermann/array"; * * Array.drop([1, 2, 3, 4, 5], 2); // [3, 4, 5] * ``` * * ```ts [data-last] * import { Array } from "@monstermann/array"; * * pipe([1, 2, 3, 4, 5], Array.drop(2)); // [3, 4, 5] * ``` * */ declare const drop: { (amount: number): (target: T[]) => T[]; (amount: number): (target: readonly T[]) => readonly T[]; (target: T[], amount: number): T[]; (target: readonly T[], amount: number): readonly T[]; }; //#endregion export { drop };