Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/html_parser/src/deps.ts>assertions._format

Port of fb55/htmlparser2 for Deno
Latest
function assertions._format
import { assertions } from "https://deno.land/x/html_parser@v0.1.3/src/deps.ts";
const { _format } = assertions;

Converts the input into a string. Objects, Sets and Maps are sorted so as to make tests less flaky

Parameters

v: unknown

Value to be formatted

Returns

string