is_positive_integer_equivalent_number

mathtools.is_positive_integer_equivalent_number(argument)

Is true when argument is a positive integer-equivalent number. Otherwise false.

>>> import abjad
>>> abjad.mathtools.is_positive_integer_equivalent_number(
...     abjad.Duration(4, 2)
...     )
True

Returns true or false.