all_are_integer_equivalent_numbers

mathtools.all_are_integer_equivalent_numbers(argument)

Is true when argument is an iterable collection with integer-equivalent items. Otherwise false.

>>> import abjad
>>> items = [1, 2, 3.0, abjad.Fraction(4, 1)]
>>> abjad.mathtools.all_are_integer_equivalent_numbers(items)
True
>>> abjad.mathtools.all_are_integer_equivalent_numbers([1, 2, 3.5, 4])
False

Returns true or false.