function _format(v) {
  return globalThis.Deno
    ? Deno.inspect(v, {
      depth: Infinity,
      sorted: true,
      trailingComma: true,
      compact: false,
      iterableLimit: Infinity,
    })
    : `"${String(v).replace(/(?=["\\])/g, "\\")}"`;
}
/**
 * Converts the input into a string. Objects, Sets and Maps are sorted so as to
 * make tests less flaky
 * @param v Value to be formatted
 */
Converts the input into a string. Objects, Sets and Maps are sorted so as to
make tests less flaky
@param v Value to be formatted
Converts the input into a string . Objects Sets and Maps are sorted so as to make tests less flaky @param v Value to be formatted
function _format(v) {
  return globalThis.Deno
    ? Deno.inspect(v, {
      depth: Infinity,
      sorted: true,
      trailingComma: true,
      compact: false,
      iterableLimit: Infinity,
    })
    : `"${String(v).replace(/(?=["\\])/g, "\\")}"`;
}
function _format ( v ) { return globalThis . Deno ? Deno . inspect ( v , { depth : Infinity , sorted : true , trailingComma : true , compact : false , iterableLimit : Infinity , } ) : ` ${ String ( v ) . replace ( / (?=["\\]) / g , "\\" ) } ` ; }
Converts the input into a string.
Converts the input into a string .