method Console.dir
Usage in Deno
import { type Console } from "node:console";
Console.dir(obj: any,options?: InspectOptions,): void
Uses util.inspect()
on obj
and prints the resulting string to stdout
.
This function bypasses any custom inspect()
function defined on obj
.
optional
options: InspectOptions
void