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

    Variable findConst

    find: {
        <T>():
            | Curried2<
                (val: T, index?: number, arr?: T) => boolean,
                T[],
                undefined | T,
            >
            | Curried2<
                (val: T, key?: string, obj?: Record<string, T>) => boolean,
                Record<string, T>,
                undefined | T,
            >;
        <T>(
            fn: (val: T, index?: number, arr?: T) => boolean,
        ): Curried1<T[], undefined | T>;
        <T>(
            fn: (val: T, key?: string, obj?: Record<string, T>) => boolean,
        ): Curried1<Record<string, T>, undefined | T>;
        <T>(
            fn: (val: T, index?: number, arr?: T) => boolean,
            arr: T[],
        ): undefined | T;
        <T>(
            fn: (val: T, key?: string, obj?: Record<string, T>) => boolean,
            obj: Record<string, T>,
        ): undefined | T;
    } = ...

    Curried _find

    Type declaration

      • <T>():
            | Curried2<
                (val: T, index?: number, arr?: T) => boolean,
                T[],
                undefined | T,
            >
            | Curried2<
                (val: T, key?: string, obj?: Record<string, T>) => boolean,
                Record<string, T>,
                undefined | T,
            >
      • Type Parameters

        • T

        Returns
            | Curried2<
                (val: T, index?: number, arr?: T) => boolean,
                T[],
                undefined | T,
            >
            | Curried2<
                (val: T, key?: string, obj?: Record<string, T>) => boolean,
                Record<string, T>,
                undefined | T,
            >

      • <T>(
            fn: (val: T, index?: number, arr?: T) => boolean,
        ): Curried1<T[], undefined | T>
      • Type Parameters

        • T

        Parameters

        • fn: (val: T, index?: number, arr?: T) => boolean

        Returns Curried1<T[], undefined | T>

      • <T>(
            fn: (val: T, key?: string, obj?: Record<string, T>) => boolean,
        ): Curried1<Record<string, T>, undefined | T>
      • Type Parameters

        • T

        Parameters

        • fn: (val: T, key?: string, obj?: Record<string, T>) => boolean

        Returns Curried1<Record<string, T>, undefined | T>

      • <T>(fn: (val: T, index?: number, arr?: T) => boolean, arr: T[]): undefined | T
      • Type Parameters

        • T

        Parameters

        • fn: (val: T, index?: number, arr?: T) => boolean
        • arr: T[]

        Returns undefined | T

      • <T>(
            fn: (val: T, key?: string, obj?: Record<string, T>) => boolean,
            obj: Record<string, T>,
        ): undefined | T
      • Type Parameters

        • T

        Parameters

        • fn: (val: T, key?: string, obj?: Record<string, T>) => boolean
        • obj: Record<string, T>

        Returns undefined | T