import type { Stringer } from "./api.js" ; param all param indent export const stringify = ( all = false , indent ? ) : Stringer < any > => ( x ) => all || ( typeof x !== "string" && typeof x !== "number" ) ? JSON . stringify ( x , null , indent ) : String ( x ) ;