array
Built-in functions
len
Return the number of elements in an array.
count
Return the count of elements in an array or string.
Note: This symbol might be deprecated in the future.
first
Return the first element in an array or string.
last
Return everything but the first element in an array or string.
head
Return the first element in an array or string.
Note this function is supposed to be deprecated in the future.
tail
Return everything but the first element in an array or string.
rev
Return reversed version of this array.
sorted
Return a sorted version of this array
is_ascending
Check if all items are sorted in ascending order.
is_descending
Check if all items are sorted in descending order.
contains
Check if an array contains an element.