The top-level number type.
Instance methods
above?(n)
the number above n value validation
Sourcebelow?(n)
the number below n value validation
Sourcediv?(n)
the number divisibility (n) validation
Sourcenegative?
the negative number validation
Sourcepositive?
the positive number validation
Sourcezero?
the number equals zero validation
Source