chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.runtime / PropertyDescriptor

PropertyDescriptor

data class PropertyDescriptor

Object property descriptor.

Constructors

<init>

Object property descriptor.

PropertyDescriptor(name: String, value: RemoteObject? = null, writable: Boolean? = null, get: RemoteObject? = null, set: RemoteObject? = null, configurable: Boolean, enumerable: Boolean, wasThrown: Boolean? = null, isOwn: Boolean? = null, symbol: RemoteObject? = null)

Properties

configurable

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

val configurable: Boolean

enumerable

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

val enumerable: Boolean

get

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

val get: RemoteObject?

isOwn

True if the property is owned for the object.

val isOwn: Boolean?

name

Property name or symbol description.

val name: String

set

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

val set: RemoteObject?

symbol

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

val symbol: RemoteObject?

value

The value associated with the property.

val value: RemoteObject?

wasThrown

True if the result was thrown during the evaluation.

val wasThrown: Boolean?

writable

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

val writable: Boolean?