@oazmi/kitchensink - v0.9.13
    Preparing search index...

    Variable object_getOwnPropertyDescriptorConst

    object_getOwnPropertyDescriptor: (
        o: any,
        p: PropertyKey,
    ) => undefined | PropertyDescriptor = ...

    alias for Object.getOwnPropertyDescriptor.

    Type declaration

      • (o: any, p: PropertyKey): undefined | PropertyDescriptor
      • 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