check_iterable#
- astropop.py_utils.check_iterable(value)#
check_iterable
is deprecated! This function will be removed 1.0. Use np.isscalar.Check if a value is iterable (list), but not a string.
The checking process is done by trying the
iter
method of Python and matching if the value is a string or not.