Return whether given variable \(a\) is iterable.
a (Any) – Variable \(a\) to check the iterability.
Whether variable \(a\) is iterable.
bool
Examples
>>> is_iterable([1, 2, 3]) True >>> is_iterable(1) False
previous
colour.utilities.required
next
colour.utilities.is_string