PropertyDescriptor

@Serializable
data class PropertyDescriptor(val name: String, val value: Runtime.RemoteObject? = null, val writable: Boolean? = null, val get: Runtime.RemoteObject? = null, val set: Runtime.RemoteObject? = null, val configurable: Boolean, val enumerable: Boolean, val wasThrown: Boolean? = null, val isOwn: Boolean? = null, val symbol: Runtime.RemoteObject? = null)

Object property descriptor.

Constructors

Link copied to clipboard
constructor(name: String, value: Runtime.RemoteObject? = null, writable: Boolean? = null, get: Runtime.RemoteObject? = null, set: Runtime.RemoteObject? = null, configurable: Boolean, enumerable: Boolean, wasThrown: Boolean? = null, isOwn: Boolean? = null, symbol: Runtime.RemoteObject? = null)

Properties

Link copied to clipboard

True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.

Link copied to clipboard

True if this property shows up during enumeration of the properties on the corresponding object.

Link copied to clipboard

A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only).

Link copied to clipboard
val isOwn: Boolean? = null

True if the property is owned for the object.

Link copied to clipboard

Property name or symbol description.

Link copied to clipboard

A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only).

Link copied to clipboard

Property symbol object, if the property is of the symbol type.

Link copied to clipboard

The value associated with the property.

Link copied to clipboard
val wasThrown: Boolean? = null

True if the result was thrown during the evaluation.

Link copied to clipboard
val writable: Boolean? = null

True if the value associated with the property may be changed (data descriptors only).