Evaluates the condition using the specified evaluator.
var instance = new GcSpread.Sheets.RelationCondition(compareType, item1, item2);
var value; // Type: boolean
value = instance.evaluate(evaluator, baseRow, baseColumn, actualValue1, actualValue2);
function evaluate(
: object,
: number,
baseColumn : number,
: object,
: object
) : boolean;
Parameters
- evaluator
- The evaluator that can evaluate an expression or a function.
- baseRow
- The base row index for evaluation.
- baseColumn
- The base column index for evaluation.
- actualValue1
- The actual value of object1 for evaluation.
- actualValue2
- The actual value of object2 for evaluation.
Return Value
true
if the result is successful; otherwise, false
.