brain_pipe.utils.listΒΆ

List utilities.

Functions

flatten(lst)

Flatten a list or tuple (recursively).

wrap_in_list(obj)

Wrap an object in a list if it is not already a list.