Function sort

  • Curried _sort

    Type Parameters

    • T

    Returns Curried2<((x, y) => number), T[], T[]>

  • Curried _sort

    Type Parameters

    • T

    Parameters

    • fn: ((x, y) => number)
        • (x, y): number
        • Parameters

          Returns number

    Returns Curried1<T[], T[]>

  • Curried _sort

    Type Parameters

    • T

    Parameters

    • fn: ((x, y) => number)
        • (x, y): number
        • Parameters

          Returns number

    • arr: T[]

    Returns T[]