We use cookies on this site to enhance your user experience
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

Minimum value. Will always be less than or equal to the maximum.

number NumberRange.Max

Maximum value. Will always be greater than or equal to the minimum.