ObjectConstructor.getOwnPropertyDescriptor(o: any,p: PropertyKey,): PropertyDescriptor | undefined
Gets the own property descriptor of the specified object. An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.
p: PropertyKey
Name of the property.
PropertyDescriptor | undefined