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

    Variable sortByConst

    sortBy: {
        <T>(): Curried2<(x: T) => any, T[], T[]>;
        <T>(fn: (x: T) => any): Curried1<T[], T[]>;
        <T>(fn: (x: T) => any, arr: T[]): T[];
    } = ...

    Curried _sortBy

    Type declaration

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

        • T

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

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

        • T

        Parameters

        • fn: (x: T) => any

        Returns Curried1<T[], T[]>

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

        • T

        Parameters

        • fn: (x: T) => any
        • arr: T[]

        Returns T[]