Returns an empty array when the input is a tuple containing exactly one element.
A tuple containing exactly one element.
An empty array since there is only one element.
Returns an empty array when the input array is empty.
Always returns an empty array for an empty input.
Returns a new array containing all elements except the last one from a tuple with multiple elements.
A new array containing all but the last element of the tuple.
Returns a new array containing all elements except the last one from the input array. If the input array is empty or has only one element, the function returns an empty array.
The input array.
A new array containing all but the last element of the input array.
Alias