• Iterates over own enumerable properties of an object invoking iteratee for each property. The iteratee is invoked with three arguments: (value, key, object). Iteratee functions may exit iteration early by explicitly returning false.

    Type Parameters

    • T

    Parameters

    • object: T

      The object to iterate over.

    • Optionaliteratee: ObjectIterator<T, any>

      The function invoked per iteration.

    Returns T

    Returns object.

  • Type Parameters

    • T

    Parameters

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

    Returns undefined | null | T

    _.forOwn