jSValueGetTypedArrayType top-level property

int Function(Pointer<NativeType> ctx, Pointer<NativeType> value, Pointer<NativeType> exception) jSValueGetTypedArrayType
final

Returns a JavaScript value's Typed Array type. ctx (JSContextRef) The execution context to use. value (JSValueRef) The JSValue whose Typed Array type to return. exception (JSValueRef*) 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 (JSTypedArrayType) 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 Function(Pointer ctx, Pointer value, Pointer exception)
    jSValueGetTypedArrayType = jscLib
        .lookup<NativeFunction<Int8 Function(Pointer, Pointer, Pointer)>>(
            'JSValueGetTypedArrayType')
        .asFunction();