Array.first
Returns the first element of the array. The array must not be empty, otherwise, an error will occur.
Arguments
None
Return values
value
is the first entry in the array.
Complexity
Constant
Example
Output:
-1
Returns the first element of the array. The array must not be empty, otherwise, an error will occur.
None
Constant