Function mozjs_sys::jsapi::JS::BigIntToString

source ยท
pub unsafe extern "C" fn BigIntToString(
    cx: *mut JSContext,
    bi: Handle<*mut BigInt>,
    radix: u8,
) -> *mut JSString
Expand description

Convert the given BigInt to a String value as if toString() were called on it.

If the radix is not in the range [2, 36], then this function returns null and throws an exception.