Kernel.is_number
You're seeing just the function
is_number
, go back to Kernel module for more information.
Specs
Returns true
if term
is either an integer or a floating-point number;
otherwise returns false
.
Allowed in guard tests. Inlined by the compiler.