method

infinite?

v2_4_6 - Show latest stable - Class: Numeric
infinite?()
public

Returns values corresponding to the value of num's magnitude:

finite

nil

-Infinity

-1

+Infinity

+1