is_integer

tfsnippet.utils.is_integer(x)

Test whether or not x is a Python or NumPy integer.

Parameters:x – The object to be tested.
Returns:A boolean indicating whether x is a Python or NumPy integer.
Return type:bool