Usage in Deno
import { Runtime } from "node:inspector";
Object property descriptor.
name: string
Property name or symbol description.
value: RemoteObject | undefined
The value associated with the property.
writable: boolean | undefined
True if the value associated with the property may be changed (data descriptors only).
get: RemoteObject | undefined
A function which serves as a getter for the property, or undefined
if there is no getter (accessor descriptors only).
set: RemoteObject | undefined
A function which serves as a setter for the property, or undefined
if there is no setter (accessor descriptors only).
configurable: boolean
True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
enumerable: boolean
True if this property shows up during enumeration of the properties on the corresponding object.
wasThrown: boolean | undefined
True if the result was thrown during the evaluation.
isOwn: boolean | undefined
True if the property is owned for the object.
symbol: RemoteObject | undefined
Property symbol object, if the property is of the symbol
type.