Function mozjs_sys::jsapi::JS_IsArrayBufferViewObject
source ยท pub unsafe extern "C" fn JS_IsArrayBufferViewObject(
obj: *mut JSObject,
) -> bool
Expand description
Check whether obj supports JS_GetArrayBufferView* APIs. Note that this may return false if a security wrapper is encountered that denies the unwrapping. If this test or one of the more specific tests succeeds, then it is safe to call the various ArrayBufferView accessor JSAPI calls defined below.