The Tools JavaScript library
JavaScript methods to reformat data.
Helper tools to transform data.
Methods
JavaScript API methods for interacting with _tools. You can write JavaScript almost anywhere in Retool and use methods to manipulate data and property values.
formatDataAsArray
Formats data as an array.
formatDataAsObject
Formats data as an object.
swap
Swap the position of two array items.