array.last
The last element. Runtime error on an empty array.
array.last(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
newest = a.last()
The last element. Runtime error on an empty array.
array.last(id: array<any>) -> element type
id array<any>: The array; na stops the script with a runtime error. An empty array also stops it.newest = a.last()