wima
    Preparing search index...

    Function quickSort

    • Type Parameters

      • T

      Parameters

      • arr: T[]

        The array to sort.

      • OptionalcompareFunc: CompareFunc = defaultCompare

        Makes comparisons on the elements on the array.Default is to return true if the lhs is less than rhs.

      • OptionalswapFunc: SwapFunc<T> = defaultSwap

        Function to swap the elements in the array.

      • Optionalmin: number = 0
      • Optionalmax: number = ...

      Returns void