getOwnPropertyDescriptor<T extends Object, P extends Object> method
TypedPropertyDescriptor?
getOwnPropertyDescriptor<T extends Object, P extends Object>(
- T target,
- P propertyKey
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.
Implementation
_i5.TypedPropertyDescriptor<_i2.dynamic>?
getOwnPropertyDescriptor<T extends _i2.Object, P extends _i2.Object>(
T target,
P propertyKey,
) =>
_i3.callMethod(
this,
'getOwnPropertyDescriptor',
[
target,
propertyKey,
],
);