flat map
This block is part of the array group and was last modified in core v10.4.28.
Type Selection Required
This block requires you to select the data type you want to work with. You must manually select the type using the type selector modal. To access the modal, click the white button on the block.
flat map v10.4.28 Executes the provided function on every element in the array and returns as a flat array.
- Array required
arrayThe input array to be processed.
- Flat Array
arrayThe resulting flat array after applying the function.
- Iterator
execute_functionThe function to be applied to each element in the array.
Runs the iterator callback per item (index, value) and appends the value of EVERY return pin of the callback, in pin order, so one call can contribute several elements to the output. Null return values and failed calls contribute nothing. With no callback wired the input array passes through UNCHANGED; a missing or non-array input yields an empty array.
Version history
Introduced in v10.4.28.
Back to
array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group

