Deno.customInspect - Deno documentation
variable Deno.customInspect

This will be removed in Deno 2.0. See the Deno 1.x to 2.x Migration Guide for migration instructions.

A symbol which can be used as a key for a custom method which will be called when Deno.inspect() is called, or when the object is logged to the console.


unique symbol