@tempots/std

arrayTail() function

Returns a new array containing all elements of the input array except for the first element.

Signature:

arrayTail: (arr: A[]) => A[]

Parameters

Parameter

Type

Description

arr

A[]

The input array.

Returns: A[]

A new array containing all elements of the input array except for the first element.