Skip to content
instance method

Numeric#real?

() -> bool
real? → true or false

Returns true if self is a real number (i.e. not Complex).

See also #real #rect #quo #rectangular also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0