Signature
path=null start=null
Type Parameters
- T extends
string | number | symbol- The generic type parameter representing the property keys.
Parameters
- obj:
Record<string, unknown>- The object to check against. - prop:
T- The property to check for in the object.
Returns
boolean - Returns true if the property is an own property of the object, otherwise false.