• Fuzzy filter that only requires that the option includes all the characters in the query string in order with any number of character between each.

    Occurrences that result in score penalties:

    • Skipping characters in the option.
    • The case of the characters doesn't match.
    • The match doesn't start at the beginning.
    • The option is longer than the query.

    Parameters

    • query: string
    • option: string

    Returns undefined | [number, number[]]

Generated using TypeDoc