JS_IsArrayObject

Determine if a specified object is an Array.

Syntax

JSBool JS_IsArrayObject(JSContext *cx, JSObject *obj);
Name Type Description
cx JSContext * A context.
obj JSObject * The object to examine.

Description

JS_IsArrayObject determines if a specified object, obj, is an Array object. If so, JS_IsArrayObject returns JS_TRUE. Otherwise it returns JS_FALSE.

MXR ID Search for JS_IsArrayObject

Document Tags and Contributors

Contributors to this page: Tservo, Dria, Nickolay, Jorend
Last updated by: Jorend,