flatten
- compas.utilities.flatten(list_of_lists)[source]
Flatten one level of nesting.
- Parameters
list_of_lists (iterable[iterable[Any]]) – An iterable object containing other iterable objects.
- Returns
iterable – An iterable containing the elements of the elements of the nested iterables.