This article covers features introduced in SpiderMonkey 17
Get the length of a JSIdArray
.
Syntax
int JS_IdArrayLength(JSContext *cx, JSIdArray *ida);
Name | Type | Description |
---|---|---|
cx |
JSContext * |
A context. |
ida |
JSIdArray * |
The JSIdArray to get the length of. |
Description
JS_IdArrayLength
gets the length of the ID array pointed to by ida
.