Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function matches.saferStringify
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.4.3.0-alpha1/lib/esm/mod.js";
const { saferStringify } = matches;

Tries and run the stringify, if that fails just return the toString

Parameters

x

Could be anything, including a recursive object