Takaro - v0.4.11
    Preparing search index...

    Variable eachRight

    eachRight: {
        <T>(collection: T[], iteratee?: ArrayIterator<T, any>): T[];
        (collection: string, iteratee?: StringIterator<any>): string;
        <T>(collection: List<T>, iteratee?: ListIterator<T, any>): List<T>;
        <T extends object>(collection: T, iteratee?: ObjectIterator<T, any>): T;
        <T, TArray extends T[] | null | undefined>(
            collection: TArray & (T[] | null | undefined),
            iteratee?: ArrayIterator<T, any>,
        ): TArray;
        <TString extends string | null | undefined>(
            collection: TString,
            iteratee?: StringIterator<any>,
        ): TString;
        <T, TList extends List<T> | null | undefined>(
            collection: TList & (List<T> | null | undefined),
            iteratee?: ListIterator<T, any>,
        ): TList;
        <T extends object>(
            collection: T | null | undefined,
            iteratee?: ObjectIterator<T, any>,
        ): T | null | undefined;
    }

    Type Declaration

      • <T>(collection: T[], iteratee?: ArrayIterator<T, any>): T[]
      • This method is like _.forEach except that it iterates over elements of collection from right to left.

        Type Parameters

        • T

        Parameters

        • collection: T[]

          The collection to iterate over.

        • Optionaliteratee: ArrayIterator<T, any>

          The function called per iteration.

        Returns T[]

        _.eachRight

      • (collection: string, iteratee?: StringIterator<any>): string
      • Parameters

        • collection: string
        • Optionaliteratee: StringIterator<any>

        Returns string

        _.forEachRight

      • <T>(collection: List<T>, iteratee?: ListIterator<T, any>): List<T>
      • Type Parameters

        • T

        Parameters

        • collection: List<T>
        • Optionaliteratee: ListIterator<T, any>

        Returns List<T>

        _.forEachRight

      • <T extends object>(collection: T, iteratee?: ObjectIterator<T, any>): T
      • Type Parameters

        • T extends object

        Parameters

        • collection: T
        • Optionaliteratee: ObjectIterator<T, any>

        Returns T

        _.forEachRight

      • <T, TArray extends T[] | null | undefined>(
            collection: TArray & (T[] | null | undefined),
            iteratee?: ArrayIterator<T, any>,
        ): TArray
      • Type Parameters

        • T
        • TArray extends T[] | null | undefined

        Parameters

        • collection: TArray & (T[] | null | undefined)
        • Optionaliteratee: ArrayIterator<T, any>

        Returns TArray

        _.forEachRight

      • <TString extends string | null | undefined>(
            collection: TString,
            iteratee?: StringIterator<any>,
        ): TString
      • Type Parameters

        • TString extends string | null | undefined

        Parameters

        • collection: TString
        • Optionaliteratee: StringIterator<any>

        Returns TString

        _.forEachRight

      • <T, TList extends List<T> | null | undefined>(
            collection: TList & (List<T> | null | undefined),
            iteratee?: ListIterator<T, any>,
        ): TList
      • Type Parameters

        • T
        • TList extends List<T> | null | undefined

        Parameters

        • collection: TList & (List<T> | null | undefined)
        • Optionaliteratee: ListIterator<T, any>

        Returns TList

        _.forEachRight

      • <T extends object>(
            collection: T | null | undefined,
            iteratee?: ObjectIterator<T, any>,
        ): T | null | undefined
      • Type Parameters

        • T extends object

        Parameters

        • collection: T | null | undefined
        • Optionaliteratee: ObjectIterator<T, any>

        Returns T | null | undefined

        _.forEachRight

    _.forEachRight