Contents

Roo

Number.integer?

Returns True if this number is an integer, False if it’s a double.

5.integer? # => True
45.78.integer? # => False