List Operations
Flatten List of Lists Node
Flatten a list of lists into a single list
This node allows you to flatten a list of lists. Specifically, it takes a list of lists and converts it into a list. For example, flattening [[a, b], [c, d]] becomes [a, b, c, d].
Node Inputs
- Type: The type of list you want to create
- Type:
Dropdown
- Type:
- List of lists: The list of lists you want to flatten
- Type:
List<List<T>>
(based on the type of list you choose)
- Type:
Node Outputs
- Flattened list: The flattened list
- Type:
List<T>
- Example usage:
{{flatten_list_0.flattened_list}}
- Type:
Example
The below example is a pipeline for flattening a list of lists to a list.