• 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.

    • Optional iteratee: ArrayIterator<T, any>

      The function called per iteration.

    Returns T[]

    Alias

    _.eachRight

  • Parameters

    • collection: string
    • Optional iteratee: StringIterator<any>

    Returns string

    See

    _.forEachRight

  • Type Parameters

    • T

    Parameters

    • collection: List<T>
    • Optional iteratee: ListIterator<T, any>

    Returns List<T>

    See

    _.forEachRight

  • Type Parameters

    • T extends object

    Parameters

    • collection: T
    • Optional iteratee: ObjectIterator<T, any>

    Returns T

    See

    _.forEachRight

  • Type Parameters

    • T

    • TArray extends undefined | null | T[]

    Parameters

    • collection: {}
      • Optional iteratee: ArrayIterator<T, any>

      Returns TArray

      See

      _.forEachRight

    • Type Parameters

      • TString extends undefined | null | string

      Parameters

      • collection: TString
      • Optional iteratee: StringIterator<any>

      Returns TString

      See

      _.forEachRight

    • Type Parameters

      • T

      • TList extends undefined | null | List<T>

      Parameters

      • collection: {}
        • Optional iteratee: ListIterator<T, any>

        Returns TList

        See

        _.forEachRight

      • Type Parameters

        • T extends object

        Parameters

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

        Returns undefined | null | T

        See

        _.forEachRight

      Generated using TypeDoc