IntegerSchema()

The IntegerSchema class.

new IntegerSchema()

Methods

__setSafeRangeLimit()

sets limit on how large max or min can be. Validates current min/max to ensure they work correctly

__validateRangeProperty(name, val)

Validate input to min/max.
Parameters:
Name Type Description
name String Property name
val Integer An integer for min/max.

asInt32()

applies range for Int32 values

asInt64()

applies range for int64 values