import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { RemoteObject } = Protocol.Runtime;
Mirror object referencing original JavaScript object.
Properties
type:
| "object"
| "function"
| "undefined"
| "string"
| "number"
| "boolean"
| "symbol"
| "bigint"
| "wasm"
Object type. (RemoteObjectType enum)
optional
subtype: | "array"
| "null"
| "node"
| "regexp"
| "date"
| "map"
| "set"
| "weakmap"
| "weakset"
| "iterator"
| "generator"
| "error"
| "proxy"
| "promise"
| "typedarray"
| "arraybuffer"
| "dataview"
| "i32"
| "i64"
| "f32"
| "f64"
| "v128"
| "externref"
Object subtype hint. Specified for object
or wasm
type values only. (RemoteObjectSubtype enum)
Remote object value in case of primitive values or JSON values (if it was requested).
optional
unserializableValue: UnserializableValuePrimitive value which can not be JSON-stringified does not have value
, but gets this
property.
optional
objectId: RemoteObjectIdUnique object identifier (for non-primitive values).
optional
preview: ObjectPreviewPreview containing abbreviated property values. Specified for object
type values only.
optional
customPreview: CustomPreview