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

x/levo/lib/lib.deno_runtime.d.ts>Deno.InspectOptions

Server side rendering with The Elm Architecture in Deno
Latest
interface Deno.InspectOptions
import { type Deno } from "https://deno.land/x/levo@v0.0.27/lib/lib.deno_runtime.d.ts";
const { InspectOptions } = Deno;

Properties

optional
depth: number

Traversal depth for nested objects. Defaults to 4.

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
compact: boolean

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

optional
iterableLimit: number

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