Skip to main content

JS_AtomToValue

Function JS_AtomToValue 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_AtomToValue( ctx: *mut JsContext, atom: Atom, ) -> JsValue
Expand description

JS_AtomToValue: the atom’s text as a string value, or undefined for ATOM_NULL.

§Safety

ctx must be a live context.