Vettero

Array

Array utilities for access, transform, search, and workflow helpers.

Type

data-ops.array
Folderbasic/data-ops
Channels

Any

Pipe

Value

Scope

Any

Array (canvas label Array · plus the operation) runs one list Operation and writes the result to the data pipe. Add/remove operations return a new list; they do not change the original variable unless you store the pipe again.

These operations need the Callback handle connected to a Lambda: Map, Filter, Reduce, Flat map, Find, Find index, Some, Every, Group by, Key by, Partition. The run fails if the callback is not connected.

Use For Of when each item needs a full nested graph with conditions and other blocks. Use this block for a single list transform.

Configure

SettingDescription
OperationGrouped list. Changing it resets the other fields
Remaining fieldsDepend on Operation (for example Array, Index, Item)

Handles

HandleRole
In (target)Incoming connection
Out (source)Continues after the operation (main path)
CallbackRequired for callback operations. New callback scope per item. Connect to Lambda

Inside the callback body (after Lambda):

PathMeaning
args.itemCurrent item
args.indexZero-based index
args.accReduce only — accumulator
args.curReduce only — alias for the current item

End the body with a return. That returns from the callback, not from the whole workflow.

OperationReturn from the callback
Filter, Some, Every, Find, Find index, Partitiontrue/false
Group by, Key bytext key
Map, Flat map, ReduceTransformed or accumulated value

Pipe schema

The next block on the main path reads this on the data pipe (pipe.value). The type depends on Operation: list, object, number, true/false, text, or any (item access and Reduce / Find).

Pop and Shift return the list without the removed item (not the removed value). Use Last or First if you need the item.

Operations

Core and access

OperationResultInputs
CreatelistOptional Items
FromlistValue — wrap a non-list as one item; missing becomes []
Length / CountnumberArray
Is emptytrue/falseArray
GetanyArray, Index
AtanyArray, Index — negative indexes from the end
First / LastanyArray

Add and remove

OperationResultInputs
Push / UnshiftlistArray, Item
Pop / ShiftlistArray
InsertlistArray, Index, Item
RemovelistArray, Index

Transform (callback)

OperationResultInputs
MaplistArray
FilterlistArray
ReduceanyArray, Initial value
Flat maplistArray

Flat (no callback): Array, optional Depth (default 1).

OperationResultInputs
Includestrue/falseArray, Value
Index ofnumberArray, Value
FindanyArray — first match via callback
Find indexnumberArray
Some / Everytrue/falseArray

Combine, order, compare

OperationResultInputs
ConcatlistArrays — list of lists
SlicelistArray, Start, optional End
SplicelistArray, Start, Delete count, optional Items
ChunklistArray, Chunk size
SortlistArray, optional Direction (asc|desc)
Reverse / Unique / ShufflelistArray
Equalstrue/falseA, B — deep
Is subsettrue/falseA, B — every item in A is in B

Aggregate, convert, helpers

OperationResultInputs
Sum / Average / Min / MaxnumberArray of numbers
JointextArray, optional Separator (default ,)
To objectobjectArray of [key, value] pairs
CompactlistArray — drops null and missing items
Group by / Key byobjectArray plus callback key
PartitionlistArray — [pass, fail] via callback
ZiplistArrays — combine by index
UnziplistArray — reverse a zipped list

Use case

  • Filter rows from Table Find where a callback condition is true.
  • Map each id to a payload, then call an API once per item inside the callback, or Join ids for a query string.
  • Chunk a long list before sending batches.
Copyright © 2026