Reports whether the given key is a key of the given object. Acts as a typeguard.
Useful for dealing with the TypeScript error "Element implicitly has an 'any' type because expression of type 'string'
can't be used to index type '{...}'." when using dynamic keys with fixed object types.
Reports whether the given key is a key of the given object. Acts as a typeguard.
Useful for dealing with the TypeScript error "Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{...}'." when using dynamic keys with fixed object types.