Skip to main content
InspectOptions.depth - util - Node documentation
property InspectOptions.depth

Usage in Deno

import { type InspectOptions } from "node:util";

Specifies the number of times to recurse while formatting object. This is useful for inspecting large objects. To recurse up to the maximum call stack size pass Infinity or null.

Type

number
| null
| undefined