Constructors
constructor
- new FuzzySearcher(obj: O[], keys: string[], options?: Fuse.IFuseOptions<unknown>): FuzzySearcher
-
Parameters
-
obj: O[]
-
keys: string[]
-
Optional options: Fuse.IFuseOptions<unknown>
Methods
runFuzzy
- runFuzzy(query: string): { item: T; matches?: ReadonlyArray<FuseResultMatch>; refIndex: number; score?: undefined | number }[]
-
Parameters
Returns { item: T; matches?: ReadonlyArray<FuseResultMatch>; refIndex: number; score?: undefined | number }[]