@hat-open/util
    Preparing search index...

    Variable sortConst

    sort: {
        <T>(): Curried2<(x: T, y: T) => number, T[], T[]>;
        <T>(fn: (x: T, y: T) => number): Curried1<T[], T[]>;
        <T>(fn: (x: T, y: T) => number, arr: T[]): T[];
    } = ...

    Curried _sort

    Type declaration

      • <T>(): Curried2<(x: T, y: T) => number, T[], T[]>
      • Type Parameters

        • T

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

      • <T>(fn: (x: T, y: T) => number): Curried1<T[], T[]>
      • Type Parameters

        • T

        Parameters

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

        Returns Curried1<T[], T[]>

      • <T>(fn: (x: T, y: T) => number, arr: T[]): T[]
      • Type Parameters

        • T

        Parameters

        • fn: (x: T, y: T) => number
        • arr: T[]

        Returns T[]