Function mozjs::jsapi::IsArrayBufferViewShared
source ยท pub unsafe extern "C" fn IsArrayBufferViewShared(
obj: *mut JSObject,
) -> bool
Expand description
Return the isShared flag of a ArrayBufferView subtypes, which denotes whether the underlying buffer is a SharedArrayBuffer.
|obj| must have passed a JS_IsArrayBufferViewObject test, or somehow be known that it would pass such a test: it is a ArrayBufferView subtypes or a wrapper of a ArrayBufferView subtypes, and the unwrapping will succeed.