deno.com

method Console.dir

#Console.dir(
item?: any,
options?: any,
): void

Displays a list of the properties of a specified object

Examples #

#
console.dir({ name: 'object', value: 42 }, { depth: 1 });

Parameters #

#item: any
optional

Object to display

#options: any
optional

Formatting options

Return Type #

void