brain_pipe.utils.list.wrap_in_list¶ wrap_in_list(obj: Any) → List[Any]¶ Wrap an object in a list if it is not already a list. Parameters: obj (Any) – An object to be wrapped in a list. If it is already a list, it is returned as is. Returns: A list containing the object. Return type: List[Any]