cratepy.ioput.ioutilities.checknumber

checknumber(x)[source]

Check if instance is or represents a number.

Parameters:

x – Object.

Returns:

is_numberTrue if x is or represents a number, False otherwise.

Return type:

bool