cratepy.ioput.ioutilities.checkposint

checkposint(x)[source]

Check if instance is a positive integer.

Parameters:

x – Object.

Returns:

is_posintTrue if x is a positive integer, False otherwise.

Return type:

bool