Return whether given variable \(a\) is a Number-like variable.
Number
a (Any) – Variable \(a\) to test.
Whether variable \(a\) is a Number-like variable.
bool
Examples
>>> is_numeric(1) True >>> is_numeric((1,)) False
previous
colour.utilities.is_string
next
colour.utilities.is_integer