list module

toolbox.list.flatten_list(lst: List[Any]) List[Any]

Recursively flatten a list of arbitrarily nested lists.

Args:

lst (List[Any]): The nested list.

Returns:

List[Any]: A single flattened list.