• Strict filter that requires the option to start with the query string.

    Occurrences that result in score penalties:

    • The case of the query and the start of the option is different.
    • The option is longer than the query.

    Parameters

    • query: string
    • option: string

    Returns undefined | [number, number[]]

Generated using TypeDoc