• 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.

    Parameters

    • o: any

      Object that contains the property.

    • p: PropertyKey

      Name of the property.

    Returns undefined | PropertyDescriptor

Generated using TypeDoc