Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.
brainprep.wrappers.is_list_list_str¶
- brainprep.wrappers.is_list_list_str(command)[source]¶
Check whether the input is a list of lists containing only strings.
Each element of command must itself be a list composed exclusively of string elements. This function delegates the inner-list validation to is_list_str.
- Parameters:
- commandAny
The object to validate.
- Returns:
- bool
True if command is a list and every element is a list of strings, otherwise False.