ChronosChronos

inspect

Returns a debug-friendly string representation of the Chronos instance for use with console.log and Node.js util.inspect.

inspect()

Returns a debug-friendly string for console.log or util.inspect.

Signature

inspect(): string

Return Type

string - Debug-friendly string

Notes

  • Used by Node.js util.inspect
  • Includes Chronos prefix

Example

playground.ts

Last updated: Wed, May 20, 2026 06:24:17PM (UTC)

On this page