sesaparcours
    Preparing search index...
    • Use the calculated prefix and suffix lengths to trim all of the options in the given array.

      Parameters

      • options: any[][]

        Array of option tuples: (human-readable text or image, language-neutral name).

      • prefixLength: number

        The length of the common prefix.

      • suffixLength: number

        The length of the common suffix

      Returns any[][]

      A new array with all of the option text trimmed.