Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method UserAgent.prototype.[Symbol.for("nodejs.util.inspect.custom")]
import { UserAgent } from "https://deno.land/std@0.218.0/http/user_agent.ts";

Custom output for Node's util.inspect.

Parameters

depth: number
options: any
inspect: (value: unknown, options?: unknown) => string

Returns

string