Last item getter
Last updated
Last updated
[data/array/Last item getter]
Retrieves last item of the array. Example:
[1,2]@0 received via array
2@0 sent via item
More: https://github.com/Cranq-io/cranq-tutorials/tree/main/reference/3_querying_data/3_1_getters#getting-the-first--last-array-elements
array: any[]
Recieves array to retrieve last item from. Example: [1,2]
item: any[][number]
Sends last item of the array. Example: 2