is_zero

is_zero(obj, numeric_types=None): 

LLM Docstring

Test whether an object is a numeric scalar equal to zero.

  • obj: Any

    the object to test

  • numeric_types: tuple | None

    the numeric types to accept

  • :returns: bool

    whether the object is a numeric zero


Feedback

Examples

Templates

Documentation