#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_ToPrimitive(
ctx: *mut JsContext,
val: JsValue,
hint: c_int,
) -> JsValueExpand description
JS_ToPrimitive: ToPrimitive with a hint (0 default, 1 number, 2 string).
ยงSafety
val must be a live JSValue.