JSObjectGetTypedArrayLength top-level property

int Function(JSContextRef ctx, JSObjectRef object, Pointer<JSValueRef> exception) JSObjectGetTypedArrayLength
final

MacOS 10.12, iOS 10.0 Returns the length of a JavaScript Typed Array object. ctx The execution context to use. object The Typed Array object whose length to return. exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception. @result The length of the Typed Array object or 0 if the object is not a Typed Array object.

Implementation

final int Function(JSContextRef ctx, JSObjectRef object, Pointer<JSValueRef> exception) JSObjectGetTypedArrayLength =
    jscLib.lookup<NativeFunction<Size Function(JSContextRef ctx, JSObjectRef object, Pointer<JSValueRef> exception)>>('JSObjectGetTypedArrayLength').asFunction();