Skip to main content

to_js_string

Function to_js_string 

Source
pub fn to_js_string(v: &Value) -> String
Expand description

JavaScript’s String(value) for the scalar values a template may interpolate: strings verbatim, numbers through number_to_string, booleans true/false, null, arrays comma-joined, objects [object Object].