Trevixal API
    Preparing search index...

    Function fuzzyScore

    • Subsequence score for a query against a candidate string.

      Returns null when the query's characters do not appear in order, the standard fuzzy contract. Matches at a word boundary and runs of consecutive characters score higher, so typing "bl" ranks "Bullet List" above "Table" even though both contain the letters.

      Parameters

      • query: string
      • candidate: string

      Returns number | null