Try to return the result of JSON.stringify(x). If that fails, return defaultValue
Scheduler.tryStringify(x, defaultValue)
Try to return the result of JSON.stringify(x). If that fails, return defaultValue
Parameters
-
x
{*}
-
defaultValue
{*}