var value; // Type: DefaultDataValidator value = GC.Spread.Sheets.DataValidation.createNumberValidator(typeOperator, v1, v2, isIntegerValue);
function createNumberValidator( typeOperator : ComparisonOperators, v1 : object, v2 : object, isIntegerValue : boolean ) : DefaultDataValidator;
Parameters
- typeOperator
- The type of ComparisonOperators compare operator.
- v1
- The first object.
- v2
- The second object.
- isIntegerValue
- Set to
true
if the validator is set to a number.
Return Value
The validator.