open static fun inRange(from: Long, to: Long): PropertyValidator<Number>
(source)
A validator that ensures a property, if present, is within a long integer range.
from
- The lower bound of the range (inclusive).
to
- The upper bound of the range (exclusive).
Return
A validator that ensures a property, if present, is within an integer range.