Function js::jsapi::JS_IsArrayObject1
[−]
[src]
pub unsafe extern "C" fn JS_IsArrayObject1(
cx: *mut JSContext,
obj: HandleObject,
isArray: *mut bool
) -> bool
Returns true and sets |*isArray| indicating whether |obj| is an Array object or a wrapper around one, otherwise returns false on failure.
This method returns true with |*isArray == false| when passed a proxy whose target is an Array, or when passed a revoked proxy.