# operatorsFor (@salmonui/query-builder)

> The operatorsFor function of @salmonui/query-builder: The built-in operators of a field type (Data Grid filter operator names), plus in / notIn for string and number fields.

Canonical: https://salmonui.dev/docs/reference/query-builder/operatorsFor

```ts
import { operatorsFor } from '@salmonui/query-builder';
```

Entry index: https://salmonui.dev/docs/reference/query-builder (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/query-builder.md).

## Reference

Kind: function

```ts
function operatorsFor(type?: QueryFieldType): readonly string[];
```

The built-in operators of a field type (Data Grid filter operator names), plus `in` / `notIn` for string and number fields.
