PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

NumberRange

NumberRange

Constructors

NumberRange.new ( number value )

Creates a new NumberRange with the minimum and maximum set to value.

NumberRange.new ( number minimum, number maximum )

Creates a new NumberRange with the provided minimum and maximum. minimum must be less than or equal to maximum.

Properties

number NumberRange.Min

The minimum value of the NumberRange. Will always be less than or equal to the maximum.

number NumberRange.Max

The maximum value of the NumberRange. Will always be greater than or equal to the minimum.