all_are_nonnegative_integer_equivalent_numbers

mathtools.all_are_nonnegative_integer_equivalent_numbers(expr)

True expr is a sequence and when all elements in expr are nonnegative integer-equivalent numbers. Otherwise false:

>>> expr = [0, 0.0, Fraction(0), 2, 2.0, Fraction(2)]
>>> mathtools.all_are_nonnegative_integer_equivalent_numbers(expr)
True

Returns true or false.