Function mozjs::jsapi::IsSharedArrayBufferObject

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

Check whether obj supports the JS::GetSharedArrayBuffer* 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 accessor JSAPI calls defined below.