dir

Bun

Symbol

Console.dir

dir(item?: any, options?: any): void
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.