Deno.InspectOptions
interface InspectOptions {
colors?
: boolean;
compact?
: boolean;
depth?
: number;
getters?
: boolean;
iterableLimit?
: number;
showHidden?
: boolean;
showProxy?
: boolean;
sorted?
: boolean;
strAbbreviateSize?
: number;
trailingComma?
: boolean;
}
Properties
colors?
: boolean
Stylize output with ANSI colors. Defaults to false.
compact?
: boolean
Try to fit more than one entry of a collection on the same line. Defaults to true.
depth?
: number
Traversal depth for nested objects. Defaults to 4.
getters?
: boolean
- Evaluate the result of calling getters. Defaults to false.
iterableLimit?
: number
The maximum number of iterable entries to print. Defaults to 100.
showHidden?
: boolean
Show an object's non-enumerable properties. Defaults to false.
showProxy?
: boolean
Show a Proxy's target and handler. Defaults to false.
sorted?
: boolean
Sort Object, Set and Map entries by key. Defaults to false.
strAbbreviateSize?
: number
The maximum length of a string before it is truncated with an ellipsis
trailingComma?
: boolean
Add a trailing comma for multiline collections. Defaults to false.
© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.InspectOptions