List Operations
Duplicate
This document explains the Duplicate node, which creates a list by repeating a single value.
Node Inputs
Required Fields
- Input: Value to duplicate
- List Size to Match: Match another list’s size
Optional Fields
- Specify List Size: Enable manual size control
- List Size: Number of duplicates to create
Note: If you’ve a list with an unknown size (eg. using the ‘Extract List’ option on the Extract Data node), you can directly pass that list onto the ‘List size to Match’ input to create a duplicate list matching that size.
Node Output
- Duplicated List: List of repeated values
Node Functionality
The Duplicate node:
- Repeats single value
- Creates uniform lists
- Matches list sizes
- Preserves data type
- Supports loop mode
Common Use Cases
- Default Values:
- Match Reference:
- Template Creation:
Additional Information
In summary, the Duplicate node helps create lists of repeated values, perfect for initialization and placeholder data in your Gumloop workflows.