#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_ToIndex(
ctx: *mut JsContext,
plen: *mut u64,
val: JsValue,
) -> c_intExpand description
JS_ToIndex: a valid array index, or a RangeError.
ยงSafety
plen must be writable and val a live JSValue.