@corefunc/corefunc
    Preparing search index...

    Function arrayToSorted

    • Type Parameters

      • T

      Parameters

      • array: T[]

        Array to sort.

      • OptionalcompareFn: (a: T, b: T) => number

        Optional. Function that defines the sort order.

      Returns T[]

      Sorted array.

      arrayToSorted

      Sorts an array. Returns a new array.

      0.3.62