Quite often when accessing an external API, the data isn't filtered or structured in the way you want to use it, you may need to add, remove, sort or manipulate the data in other ways. This is where the Array Management functions come in. They allow you to customise the data to suit your needs, without having to write your own code, or modify the backend service.
Returns the size (number of entries) of an array
Enables you to add an additional record to an array
Enables you to delete a specific record from an array
Enables you to sort the array by the value of any field in the object structure of an array.
Allows you to retrieve a random entry from the array to use elsewhere.
Extract a specific field from the Array, either as an Array or a CSV as the output
Enables you to reduce the array to a specific number of items.
Lets you retrieve a set of data from the array, deliberately offset by a certain amount. This is very useful if the API you have been accessing data from does not support pagination of data.
Lets you randomize the order of the array if you then want to output that data elsewhere in a random order.
Updated 2 years ago