tail (Functional Programming) es-toolkit
Creates a function that returns all values except the first one. Use it with pipe.
Info
Usage
tail returns a new array without the first value of the piped array.
Parameters
This function takes no arguments; call it as tail().
Returns
A function that maps a readonly T[] to all values except the first one.
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.