new False(value)
Evaluates if the condition is false.
Parameters:
Name | Type | Description |
---|---|---|
value |
boolean | system.rules.Rule | The value to evaluate. |
- Implements:
Example
var False = system.rules.False ; var cond1 = new False( true ) ; var cond2 = new False( false ) ; var cond3 = new False( cond1 ) ; var cond4 = new False( cond2 ) ; trace( cond1.eval() ) ; // false trace( cond2.eval() ) ; // true trace( cond3.eval() ) ; // true trace( cond4.eval() ) ; // false
Extends
Members
-
value :boolean|system.rules.Rule
-
The condition to evaluate.
Type:
- boolean | system.rules.Rule
- Default Value:
-
- false
Methods
-
<static> False#eval()
-
Evaluates the specified object.
-
eval()
-
Evaluates the specified condition.
- Inherited From:
- Implements:
-
toString()
-
Returns the string representation of this instance.
- Inherited From:
- Implements:
Returns:
the string representation of this instance.