Array
#
length(array)Return the number of element in an array.
Arguments
(array): The array to process.
Returns
(number): Returns the length of the processed array.
#
join(array, separator)Converts all elements in array into a string separated by separator
Arguments
array (array): The array to convert.
separator (string): The element separator.
Returns
(string): Returns the joined string.
#
concat(array, ...values)Creates a new array concatenating array with any additional arrays and/or values.
Arguments
array (array): The array to concatenate.
values (array|object|string|number|bool): The values to concatenate.
Returns
(array): Returns the new concatenated array.
#
uniq(array)Creates a new array with first occurrence of each element.
Arguments
array (array): The array to inspect.
Returns
(array): Returns the new duplicate free array.
If you get stuck at a point above, please reach out to support@butternut.tech or via this form.
We're here to support you, and together we can build great things.