new Zero( [value])
Evaluates if the condition is undefined.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
value |
number |
<optional> |
Nan | The value to evaluate. |
- Implements:
Example
var Zero = system.rules.Zero ; trace( (new Zero( 0 )).eval() ) ; // true trace( (new Zero( 1 )).eval() ) ; // false trace( (new Zero( 'test' )).eval() ) ; // false
Extends
Methods
-
<static> Zero#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.