Control.map

Description

Loops through all the elements in a list to apply a specific operation to each element. Example: Loop through a list of numbers to square (operation to be applied) every number.

Input / Parameter

NameDescriptionInput TypeDefaultOptionsRequired

data

The list of elements to be looped through.

List

-

-

Yes

extra

The stored value that is passed to all the callbacks.

Any

-

-

No

Output

DescriptionOutput Type

Returns the formatted information.

Object

Object

KeyDescriptionOutput Type

success

Boolean value to denote whether the function was executed successfully.

Text

message

The message to print.

Text

data

Any additional message or data to print.

Text

Callback

callback

The action performed if this function runs successfully.

DescriptionOutput Type

Returns the current value of the current looped record.

Any

Video

Coming Soon.

Example

Coming Soon.

Steps

Coming Soon.

Result

Coming Soon.

Last updated