Array operators

arrayConcat(array0, array1, ...)

Concatenates the arguments to return the concatenated array. Each argument must be an array.
arrayConcat

arraySearch(array, element, start, end)

Searches a value in an array and returns the index (zero-based) of the first occurrence.
array : The array to search from.
element : The value to search for.
start : The starting index position for the search. Optional.
end : The ending index position for the search. Optional.
If both start and end are left empty, the search will cover the entire array.
arraySearch

arrayDiffer(array0, array1)

Compares array0 to array1 and returns an array containing the elements that only exist in array0
arrayDiffer

arrayEqual(array0, array1, ...)

Returns true if all arguments have the same distinct elements. Otherwise, returns false. Each argument must be an array.
arrayEqual

arrayOverlap(array0, array1, ...)

Returns an array that contains the elements appearing in every argument. Each argument must be an array. If there is no overlap, it returns an empty array.
arrayOverlap

arrayUnion(array0, array1, ...)

Returns an array that contains the elements appearing in any argument. Each argument must be an array.
arrayUnion

arraySize(array)

Returns the total number of elements in array. The argument must be an array.
arraySize

range(start, end, step)

Generates a sequence of numbers and returns them in an array.
start : The start value of the sequence.
end : The end value of the sequence.
step : The incremental value. It's optional and the default is 1.
range
Last modified 1yr ago
Copy link