Skip to main content

MatchResult

Stentor API Reference


Stentor API Reference / stentor-utils/src / MatchResult

Interface: MatchResult\<T>

Defined in: packages/stentor-utils/src/matcher.ts:202

Results returned by the fuzzy string matcher.

Extends​

  • FuseResult\<SlotTypeValue\<T>>

Type Parameters​

T​

T

Properties​

item​

item: SlotTypeValue

Defined in: node_modules/fuse.js/dist/fuse.d.ts:297

Inherited from​

Fuse.FuseResult.item


refIndex​

refIndex: number

Defined in: node_modules/fuse.js/dist/fuse.d.ts:298

Inherited from​

Fuse.FuseResult.refIndex


score?​

optional score: number

Defined in: node_modules/fuse.js/dist/fuse.d.ts:299

Inherited from​

Fuse.FuseResult.score


matches?​

optional matches: readonly FuseResultMatch[]

Defined in: node_modules/fuse.js/dist/fuse.d.ts:300

Inherited from​

Fuse.FuseResult.matches