# ListboxSearchOperator (@salmonui/dropdowns/listbox)

> The ListboxSearchOperator type of @salmonui/dropdowns/listbox: Built-in search operators, or a predicate over the item and the search text.

Canonical: https://salmonui.dev/docs/reference/dropdowns/listbox/ListboxSearchOperator

```ts
import type { ListboxSearchOperator } from '@salmonui/dropdowns/listbox';
```

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

## Reference

Kind: type

```ts
type ListboxSearchOperator<T> = 'startsWith' | 'contains' | 'endsWith' | ((item: T, text: string) => boolean);
```

Built-in search operators, or a predicate over the item and the search text.
