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