drop (Functional Programming) es-toolkit
Creates a function that drops values from the beginning of an array. Use it with pipe.
Info
Usage
drop removes the first count values from the piped array. It is lazy-capable inside pipe.
Parameters
countnumberrequired
The number of values to drop from the beginning.
Returns
A function that maps a readonly T[] to the remaining values.
Source: es-toolkit
Re-exported verbatim from es-toolkit. Implementation, edge cases, and performance behavior are owned upstream. This page mirrors the documentation at the pinned version; the linked source is authoritative.