samplepaths.utils.validation.is_integer

samplepaths.utils.validation.is_integer(value)[source]

Check whether a value is an integer.

Python integers and NumPy integer scalars are integers.

Parameters:

value (object) – the value to check

Returns:

True if value is an integer

Return type:

bool