JSValueGetTypedArrayType top-level property
int Function(JSContextRef ctx, JSValueRef value, Pointer<JSValueRef> exception)
JSValueGetTypedArrayType
final
MacOS 10.12, iOS 10.0
Returns a JavaScript value's Typed Array type.
ctx
The execution context to use.
value
The JSValue whose Typed Array type 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
A value of type JSTypedArrayType that identifies value's Typed Array type, or kJSTypedArrayTypeNone if the value is not a Typed Array object.
Implementation
final int /*JSTypedArrayType*/ Function(JSContextRef ctx, JSValueRef value, Pointer<JSValueRef> exception) JSValueGetTypedArrayType =
jscLib.lookup<NativeFunction<Uint32 /*JSTypedArrayType*/ Function(JSContextRef ctx, JSValueRef value, Pointer<JSValueRef> exception)>>('JSValueGetTypedArrayType').asFunction();