Skip to main content

Weave

Combine two lists into a single list, alternating items from each list.

Written by Holly Conrad Smith

Use this when you want to interleave two lists into one within a flow, for example alternating between two sets of points or values.

Inputs:

A: (any[ ... ]): The first list to combine.

B: (any[ ... ]): The second list to combine.

Truncate: (boolean): Truncate to the shortest list, or pad with nulls.

Outputs:

Result: (any[ ... ]): The combined list.

Did this answer your question?