all_are_nonnegative_integers

abjad.mathtools.all_are_nonnegative_integers.all_are_nonnegative_integers(argument)

Is true when argument is an iterable collection of nonnegative integers.

>>> abjad.mathtools.all_are_nonnegative_integers([0, 1, 2, 99])
True
>>> abjad.mathtools.all_are_nonnegative_integers([0, 1, 2, -99])
False

Returns true or false.