- forEach<T>(obj, fn, __namedParameters?): void
Parameters
obj: undefined | null | T | T[]
fn: ((value, key, obj) => void)
- (value, key, obj): void
Parameters
value: unknown
key: string | number | keyof T
obj: T | T[]
Returns void
__namedParameters: {
allOwnKeys?: boolean;
} = {}
Optional
allOwnKeys?: boolean
Returns void