Class: IntegerRange

IntegerRange(fromValue, toValue, step)

Defines a range for integer values.

Constructor

new IntegerRange(fromValue, toValue, step)

Create a new instance.
Parameters:
Name Type Default Description
fromValue number The lowest inclusive value in range
toValue number The highest inclusive value in range
step number 1 The internal unit size.
Source:

Methods

isValidType(parameterType) → {boolean}

Determine if a ParameterType is compatible.
Parameters:
Name Type Description
parameterType ParameterType The parameter type to test.
Source:
Returns:
- True if parameterType is compatible; otherwise return false.
Type
boolean