IsInteger class
Return true if a given input is an integer number. Due to the alignment between C# and JavaScript, a number with a zero residue of its modulo 1 will be treated as an integer number.
- Extends
Is |
Initializes a new instance of the IsInteger class. |
negation | Gets the evaluator that is a negation of this one. Sets the evaluator that is a negation of this one. |
return |
Type expected by evaluating the expression. |
type | Gets the expression type for evaluator. |
try |
Evaluate an expression. |
validate |
Validate an expression. |
Gets the evaluator that is a negation of this one. Sets the evaluator that is a negation of this one.
ExpressionEvaluator negation
Property Value
The evaluator that is a negation of this one.
Type expected by evaluating the expression.
returnType: ReturnType
Property Value
Inherited From ExpressionEvaluator.returnType
Gets the expression type for evaluator.
type: string
Property Value
string
Inherited From ExpressionEvaluator.type
Evaluate an expression.
function tryEvaluate(expression: Expression, state: MemoryInterface, options: Options): ValueWithError
Parameters
- expression
- Expression
Expression to evaluate.
- state
- MemoryInterface
Global state information.
- options
- Options
Options used in the evaluation.
Returns
The value and error string that is non-null if there is an error.
Inherited From ExpressionEvaluator.tryEvaluate
Validate an expression.
function validateExpression(expression: Expression)
Parameters
- expression
- Expression
Expression to validate.
Inherited From ExpressionEvaluator.validateExpression