pub unsafe extern "C" fn JS_GetTypedArraySharedness(
obj: *mut JSObject,
) -> bool
Expand description
Return the isShared flag of a typed array, which denotes whether the underlying buffer is a SharedArrayBuffer.
|obj| must have passed a JS_IsTypedArrayObject/JS_Is*Array test, or somehow be known that it would pass such a test: it is a typed array or a wrapper of a typed array, and the unwrapping will succeed.