is_int

is_int(obj, interface_types=(<class 'numbers.Integral'>,), exlusion_types=None, implementation_props=None): 

LLM Docstring

Test whether an object is an integer.

  • obj: Any

    the object to test

  • interface_types: Any

    the integral types

  • exlusion_types: Any

    types to exclude

  • implementation_props: Any

    attributes an object must have to qualify

  • :returns: bool

    whether the object is an integer


Feedback

Examples

Templates

Documentation