# ValidationOperator Type

> ValidationOperator type alias in the TX Sheet Control TypeScript API for the browser: SpreadsheetML-compatible validation comparison operators.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > ValidationOperator Type
- **309 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/validationoperator/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/validationoperator/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/validationoperator/llms-full.txt

---

SpreadsheetML-compatible validation comparison operators.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Syntax

```typescript
type ValidationOperator = 'between' | 'notBetween' | 'equal' | 'notEqual' | 'greaterThan' | 'lessThan' | 'greaterThanOrEqual' | 'lessThanOrEqual';
```

### Examples

Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.

```typescript
import type { ValidationOperator } from '@txtextcontrol/tx-sheet-control';

const value: ValidationOperator = 'between';
console.log(value);
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Data Validation](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/validation/llms-full.txt)

---

## Nearby

- **Previous:** [ValidationEvent.sheetId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/validationevent/sheetid-property/llms-full.txt)
- **Next:** [ValidationRule Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/validationrule/llms-full.txt)
