Function js::jsapi::JS_IsArrayObject
[−]
[src]
pub unsafe extern "C" fn JS_IsArrayObject(
cx: *mut JSContext,
value: HandleValue,
isArray: *mut bool
) -> bool
Returns true and sets |*isArray| indicating whether |value| 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.