import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.ts";
const { ObjectPreview } = Protocol.Runtime;
Object containing abbreviated remote object value.
Properties
type: ()
| "object"
| "function"
| "undefined"
| "string"
| "number"
| "boolean"
| "symbol"
| "bigint"
Object type. (ObjectPreviewType enum)
optional
subtype: ( | "array"
| "null"
| "node"
| "regexp"
| "date"
| "map"
| "set"
| "weakmap"
| "weakset"
| "iterator"
| "generator"
| "error"
| "proxy"
| "promise"
| "typedarray"
| "arraybuffer"
| "dataview"
| "webassemblymemory"
| "wasmvalue"
Object subtype hint. Specified for object
type values only. (ObjectPreviewSubtype enum)
properties: PropertyPreview[]
List of the properties.
optional
entries: EntryPreview[]List of the entries. Specified for map
and set
subtype values only.