pymel.util.arrays.isNumeric

isNumeric(obj)

Returns True if an object is a number type, otherwise returns False.

Return type:bool