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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entry | Matchable |
queryTerms | string[] |
mode | Mode |
Returns
Section titled “Returns”EntryMatch | null