Second value of an ArrayLike.
Type of the Second item of an ArrayLike, manly here to avoid magic numbers.
ArrayLike
const array = ["🟢", "🟩", "💚"];const second: Second<typeof array> = "🟩"; Copy
const array = ["🟢", "🟩", "💚"];const second: Second<typeof array> = "🟩";
The input ArrayLike.
Second value of an ArrayLike.
Remarks
Type of the Second item of an
ArrayLike
, manly here to avoid magic numbers.Example
See