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.

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

Returns true or false.