- forEachKey<S, T>(subject, predicate, thisArg?): void
Type Parameters
- S extends Record<string | number | symbol, any>
- T = any
Parameters
- subject: S
- predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[]) => void)
- (this, key, index, obj): void
Parameters
- this: T
- key: keyof S
- index: number
- obj: (keyof S)[]
Returns void
Optional
thisArg: T
Returns void