all_are_nonnegative_integer_equivalent_numbers

mathtools.all_are_nonnegative_integer_equivalent_numbers(argument)

Is true when argument is an iterable collection of nonnegative integer-equivalent numbers. Otherwise false.

>>> import abjad
>>> items = [0, 0.0, abjad.Fraction(0), 2, 2.0, abjad.Fraction(2)]
>>> abjad.mathtools.all_are_nonnegative_integer_equivalent_numbers(items)
True
>>> items = [0, 0.0, abjad.Fraction(0), -2, 2.0, abjad.Fraction(2)]
>>> abjad.mathtools.all_are_nonnegative_integer_equivalent_numbers(items)
False

Returns true or false.