Last updated on
16 May 2021
|
Also applies to ColdFusion
Function | Description |
ArrayAppend | Appends an element to the end of an array. |
ArrayAvg | Calculates the average of the values in an array. |
ArrayClear | Removes all elements in an array. |
ArrayContains | Determines if an object is in an input array. |
ArrayContainsNoCase | Determines if an object is in an input array, case insensitive. |
ArrayDelete | Deletes an object from an array. |
ArrayDeleteAt | Deletes an object from an array at a particular index. |
ArrayDeleteNoCase | Deletes an object from an array, case insensitive. |
ArrayEach | Loops over an array and executes a function for each member in the array. |
ArrayFilter | Filters the elements in an array for which the inline function returns true. |
ArrayFind | Searches an array for a specified object. |
ArrayFindAll | Searches an array for all positions of a specified object. |
ArrayFindAllNoCase | Searches an array for all positions of a specified object. The search is case-insensitive. |
ArrayFindNoCase | Performs a case-insensitive search in an array for a specified object. |
ArrayFirst | Gets the first element of an array. |
ArrayGetMetadata | Gets metadata for the array elements. |
ArrayInsertAt | Inserts a value at a specified position in an array. |
ArrayIsDefined | Determines if an array is defined. |
ArrayIsEmpty | Determines if an array is empty. |
ArrayLast | Gets the last element of an array. |
arrayLen | Finds the number of elements in an array. |
ArrayMap | Iterates over every entry of the array and calls the closure function to work on the element of the array. |
ArrayMax | Finds the maximum value of the elements in an array. |
ArrayMin | Finds the minimum value of the elements in an array. |
ArrayNew | Creates an array of 1-3 dimensions. |
ArrayPrepend | Inserts an array element at the beginning of an array. |
ArrayResize | Resets an array to a specified minimum number of elements. |
ArraySet | Sets the elements in a one-dimensional array in a specified index range to a value. |
ArraySetMetadata | Sets the metadata on the array elements. |
ArraySlice | Returns part of an array with only the required elements. |
ArraySort | Sorts the elements in an array according to sort type and order. |
ArraySum | Calculates the sum of all the elements in an array. |
ArraySwap | Swaps array values of an array at specified positions. |
ArrayToList | Converts a one-dimensional array to a list. |
IsArray | Determines whether a value is an array. |
ListToArray | Copies list elements to an array. |
ArrayShift | Removes the first element of an array and returns the element that is removed. |
ArrayUnshift | Adds one or more elements to the beginning of an array and returns the new length of the array. |