all_are_integer_equivalent

mathtools.all_are_integer_equivalent(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(items)
True
>>> abjad.mathtools.all_are_integer_equivalent([1, '2', 3.5, 4])
False

Returns true or false.