class
NumberMatch
Check numeric conditions in matching expressions.
new NumberMatch()
Developers never istantiate the NumberMatch class: only use its static properties.
- Extends
- Matcher
- See also
- MatchExpression
- BoolMatch
- StringMatch
Properties
constant static
EQUALS NumberMatch
An instance of NumberMatch representing the following condition: number1 == number2.
constant static
GREATER_THAN NumberMatch
An instance of NumberMatch representing the following condition: number1 > number2.
constant static
GREATER_THAN_OR_EQUAL_TO NumberMatch
An instance of NumberMatch representing the following condition: number1 >= number2.
constant static
LESS_THAN NumberMatch
An instance of NumberMatch representing the following condition: number1 < number2.
constant static
LESS_THAN_OR_EQUAL_TO NumberMatch
An instance of NumberMatch representing the following condition: number1 <= number2.
constant static
NOT_EQUALS NumberMatch
An instance of NumberMatch representing the following condition: number1 != number2.
read-only
symbol unknown
Returns the condition symbol of this matcher.
- Inherited from
- Matcher#symbol
read-only
type unknown
Returns the type id of this matcher.
- Inherited from
- Matcher#type