array.first
The first element. Runtime error on an empty array.
array.first(id: array<any>) -> element type
Parameters
idarray<any>: The array; na stops the script with a runtime error. An empty array also stops it.
Example
oldest = a.first()
The first element. Runtime error on an empty array.
array.first(id: array<any>) -> element type
id array<any>: The array; na stops the script with a runtime error. An empty array also stops it.oldest = a.first()