method

infinite?

infinite?()
public

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