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

    Variable findIndexConst

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

    Curried _findIndex

    Type declaration

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

        • T

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

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

        • T

        Parameters

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

        Returns Curried1<T[], undefined | number>

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

        • T

        Parameters

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

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

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

        • T

        Parameters

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

        Returns undefined | number

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

        • T

        Parameters

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

        Returns undefined | string