Deno.InspectOptions

interface InspectOptions {
colors?: boolean;
compact?: boolean;
depth?: number;
getters?: boolean;
iterableLimit?: number;
showHidden?: boolean;
showProxy?: boolean;
sorted?: boolean;
trailingComma?: boolean;
}

§Properties

§
colors?: boolean
[src]

Stylize output with ANSI colors. Defaults to false.

§
compact?: boolean
[src]

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

§
depth?: number
[src]

Traversal depth for nested objects. Defaults to 4.

§
getters?: boolean
[src]
  • Evaluate the result of calling getters. Defaults to false.
§
iterableLimit?: number
[src]

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

§
showHidden?: boolean
[src]

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

§
showProxy?: boolean
[src]

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

§
sorted?: boolean
[src]

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

§
trailingComma?: boolean
[src]

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