struct

Number

Inherits Steppable / Comparable / Value / Object

The top-level number type.

Instance methods

above?(n)

the number above n value validation

Source
below?(n)

the number below n value validation

Source
div?(n)

the number divisibility (n) validation

Source
negative?

the negative number validation

Source
positive?

the positive number validation

Source
zero?

the number equals zero validation

Source