Last values of an ArrayLike (omitting the first).
Type of the last items of an ArrayLike, excluding the first item in said ArrayLike.
ArrayLike
const array = ["🟢", "🟩", "💚"];const tail: Tail<typeof array> = ["🟩", "💚"]; Copy
const array = ["🟢", "🟩", "💚"];const tail: Tail<typeof array> = ["🟩", "💚"];
Type of the array to get the tail.
Last values of an ArrayLike (omitting the first).
Remarks
Type of the last items of an
ArrayLike
, excluding the first item in said ArrayLike.Example
See