nimble.match.integer

nimble.match.integer(value)

Determine if a value is an integer type.

Return True if the value is an integer type, otherwise return False.

Parameters:

value

Returns:

bool

Examples

>>> integer(3)
True
>>> integer(3.0)
False
>>> integer(True)
True