Whatever message this page gives is out now! Go check it out!

Array functions

Last update:
May 18, 2026
FunctionDescription
ArrayAppendAppends an element to the end of an array.
ArrayAvgCalculates the average of the values in an array.
ArrayClearRemoves all elements in an array.
ArrayContainsDetermines if an object is in an input array.
ArrayContainsNoCaseDetermines if an object is in an input array, case insensitive.
ArrayDeleteDeletes an object from an array.
ArrayDeleteAtDeletes an object from an array at a particular index.
ArrayDeleteNoCaseDeletes an object from an array, case insensitive.
ArrayEachLoops over an array and executes a function for each member in the array.
ArrayFilterFilters the elements in an array for which the inline function returns true.
ArrayFindSearches an array for a specified object.
ArrayFindAllSearches an array for all positions of a specified object.
ArrayFindAllNoCaseSearches an array for all positions of a specified object. The search is case-insensitive.
ArrayFindNoCasePerforms a case-insensitive search in an array for a specified object.
ArrayFirstGets the first element of an array.
ArrayGetMetadataGets metadata for the array elements.
ArrayInsertAtInserts a value at a specified position in an array.
ArrayIsDefinedDetermines if an array is defined.
ArrayIsEmptyDetermines if an array is empty.
ArrayLastGets the last element of an array.
arrayLenFinds the number of elements in an array.
ArrayMapIterates over every entry of the array and calls the closure function to work on the element of the array.
ArrayMaxFinds the maximum value of the elements in an array.
ArrayMinFinds the minimum value of the elements in an array.
ArrayNewCreates an array of 1-3 dimensions.
ArrayPrependInserts an array element at the beginning of an array.
ArrayResizeResets an array to a specified minimum number of elements.
ArraySetSets the elements in a one-dimensional array in a specified index range to a value.
ArraySetMetadataSets the metadata on the array elements.
ArraySliceReturns part of an array with only the required elements.
ArraySortSorts the elements in an array according to sort type and order.
ArraySumCalculates the sum of all the elements in an array.
ArraySwapSwaps array values of an array at specified positions.
ArrayToListConverts a one-dimensional array to a list.
IsArrayDetermines whether a value is an array.
ListToArrayCopies list elements to an array.
ArrayShiftRemoves the first element of an array and returns the element that is removed.
ArrayUnshiftAdds one or more elements to the beginning of an array and returns the new length of the array.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page