Skip to content

Documentation / @ripl/utilities / objectForEach

Function: objectForEach()

objectForEach<TSource>(input, iteratee): void

Defined in: packages/utilities/src/collection.ts:173

Iterates over the enumerable properties of an object, invoking the iteratee for each key-value pair.

Type Parameters

Type Parameter
TSource extends IterableObject

Parameters

ParameterType
inputTSource
iterateeObjectIteratee<keyof TSource, TSource[keyof TSource]>

Returns

void