method

infinite?

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

Returns nil, -1, or 1 depending on whether the value is finite, -Infinity, or +Infinity.