Skip to content

charton API


charton API / @chart-on/core / index / matchTiers

Variable: matchTiers ​

const matchTiers: object

Defined in: packages/core/src/util/text-match.ts:57

The tiers matchScore returns, best first, and category, which only matchRank gives an indicator.

Type Declaration ​

acronym ​

readonly acronym: 3 = 3

allWords ​

readonly allWords: 6 = 6

category ​

readonly category: 9 = 9

description ​

readonly description: 8 = 8

exact ​

readonly exact: 0 = 0

keywordPrefix ​

readonly keywordPrefix: 2 = 2

labelPrefix ​

readonly labelPrefix: 1 = 1

substring ​

readonly substring: 5 = 5

typo ​

readonly typo: 7 = 7

wordPrefix ​

readonly wordPrefix: 4 = 4