Hex Core JS
    Preparing search index...

    Function compareWithQueryDesc

    • Comparison function that sorts an array using the given query. Sorts in descending order so the most matching strings appear first.

      Parameters

      • query: string

        The query to sort by.

      Returns ComparisonFunction<string>