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

  1. Type: The type of list you want to create
    • Type: Dropdown
  2. List of lists: The list of lists you want to flatten
    • Type: List<List<T>> (based on the type of list you choose)

Node Outputs

  1. Flattened list: The flattened list
    • Type: List<T>
    • Example usage: {{flatten_list_0.flattened_list}}

Example

The below example is a pipeline for flattening a list of lists to a list.