Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.Runtime.ObjectPreview

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Runtime.ObjectPreview
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)

optional
description: string

String representation of the object.

overflow: boolean

True iff some of the properties or entries of the original object did not fit.

properties: PropertyPreview[]

List of the properties.

optional
entries: EntryPreview[]

List of the entries. Specified for map and set subtype values only.