Skip to content

matchEntry

matchEntry(entry, queryTerms, mode): EntryMatch | null

Score one entry against every term, or return null if any term misses. Fields are ordered most- to least-identifying and scores decay by position, so a hit on the command’s name beats the same hit buried in its tags.

ParameterType
entryMatchable
queryTermsstring[]
modeMode

EntryMatch | null