Function script::dom::bindings::import::module::jsapi::JS::IsArray1

source ยท
pub unsafe extern "C" fn IsArray1(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    answer: *mut IsArrayAnswer,
) -> bool
Expand description

Identical to IsArray above, but the nature of the object (if successfully determined) is communicated via |*answer|. In particular this method returns true and sets |*answer = IsArrayAnswer::RevokedProxy| when called on a revoked proxy.

Most users will want the overload above, not this one.