- hasProperty<T, K>(object, property): void
Type Parameters
- T
- K extends string | number | symbol
Returns void
- hasProperty<T, K>(object, property, value): void
Type Parameters
- T
- K extends string | number | symbol
Parameters
- object: T
- property: K
- value: T[K]
Returns void
check if object has a property