Search beta
Interface of @v12-engine/client/kit
ts
export interface Search<T>A search over a list, with its index kept between keystrokes (createSearch)
Members
search
ts
search(query: string): SearchHit<T>[];The items the words typed find, the best first, with where they matched; every item, as it came, with nothing typed
set
ts
set(items: readonly T[]): void;The list searched from now on: the index is made anew for what changed