API reference: @salmonui/dropdowns/listbox
ListboxSearchOperatortype
import type { ListboxSearchOperator } from '@salmonui/dropdowns/listbox';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.