Skip to main content
interface Deno.InspectOptions

Properties

optional
colors: boolean

Stylize output with ANSI colors. Defaults to false.

optional
compact: boolean

Try to fit more than one entry of a collection on the same line. Defaults to true.

optional
depth: number

Traversal depth for nested objects. Defaults to 4.

optional
iterableLimit: number

The maximum number of iterable entries to print. Defaults to 100.

optional
showProxy: boolean

Show a Proxy's target and handler. Defaults to false.

optional
sorted: boolean

Sort Object, Set and Map entries by key. Defaults to false.

optional
trailingComma: boolean

Add a trailing comma for multiline collections. Defaults to false.

optional
getters: boolean
  • Evaluate the result of calling getters. Defaults to false.
optional
showHidden: boolean

Show an object's non-enumerable properties. Defaults to false.