Skip to main content

spell

Function spell 

Source
pub fn spell(value: Any<Naive>) -> String
Expand description

A value as the page spells it, as fjs/nanvm/demos/spell does for the JavaScript call: a string quoted as JSON quotes it, a bigint with its n, an array and an object with their nesting and no spaces, a function as (function), and anything else as String(value) spells it.