MCPcopy Index your code
hub / github.com/nodejs/node / dir

Function dir

lib/internal/console/constructor.js:447–453  ·  view source on GitHub ↗
(object, options)

Source from the content-addressed store, hash-verified

445 },
446
447 dir(object, options) {
448 this[kWriteToConsole](kUseStdout, inspect(object, {
449 customInspect: false,
450 ...this[kGetInspectOptions](this._stdout),
451 ...options,
452 }));
453 },
454
455 time(label = 'default') {
456 time(this._times, kTraceConsoleCategory, 'console.time()', kNone, label, `time::${label}`);

Callers

nothing calls this directly

Calls 1

inspectFunction · 0.50

Tested by

no test coverage detected