Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

property InspectOptions.depth

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