
Node Inputs
- Type: The type of list you want to create
- Type:
Dropdown
- Type:
- Item for duplication: The item that is going to be duplicated in the list.
- Type:
T
(based on the type of list you choose)
- Type:
- List Size to Match: The list whose size will be matched (if “List Size to Match” is the duplication mode selected).
- Type:
List<Text>
(based on the type of list you choose)
- Type:
- List Size: The size of the new list.
- Type:
Integer
- Type:
Node Outputs
- Output: The list with given size populated with the given item
- Type:
List<T>
- Example usage:
{{duplicate_list_0.output}}
- Type:
Example
The below example is a pipeline for creating a list of size 5 with all the elements as the inputted value. if the input value is “a” and the list size is designated as 5, the output will be: [“a”, “a”, “a”, “a”, “a”]