pymel.util.arguments.isNumeric

isNumeric(obj)

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

Return type:bool