jupyter_analysis_tools.utils.isList¶
- jupyter_analysis_tools.utils.isList(obj)[source]¶
Return true if the provided object is list-like including a numpy array but not a string.
>>> isList([1, 2, 'a']) True >>> isList(tuple((1, 2, 'a'))) True >>> import numpy >>> isList(numpy.arange(5)) True >>> isList("dummy") False >>> isList(None) False