View as Markdown

API reference: @salmonui/query-builder

operatorsForfunction

import { operatorsFor } from '@salmonui/query-builder';
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.