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

    Variable filterConst

    filter: {
        <T>(): Curried2<(val: T) => boolean, T[], T[]>;
        <T>(fn: (val: T) => boolean): Curried1<T[], T[]>;
        <T>(fn: (val: T) => boolean, arr: T[]): T[];
    } = ...

    Curried _filter

    Type declaration

      • <T>(): Curried2<(val: T) => boolean, T[], T[]>
      • Type Parameters

        • T

        Returns Curried2<(val: T) => boolean, T[], T[]>

      • <T>(fn: (val: T) => boolean): Curried1<T[], T[]>
      • Type Parameters

        • T

        Parameters

        • fn: (val: T) => boolean

        Returns Curried1<T[], T[]>

      • <T>(fn: (val: T) => boolean, arr: T[]): T[]
      • Type Parameters

        • T

        Parameters

        • fn: (val: T) => boolean
        • arr: T[]

        Returns T[]