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