Function mozjs::jsapi::JS::IsArrayBufferObjectMaybeShared

source ยท
pub unsafe extern "C" fn IsArrayBufferObjectMaybeShared(
    obj: *mut JSObject,
) -> bool
Expand description

Check whether obj supports the JS::GetArrayBufferMaybeShared* APIs. Note that this may return false if a security wrapper is encountered that denies the unwrapping. If this test succeeds, then it is safe to call the various predicate and accessor JSAPI calls defined below.