Function jscjs_sys::api::JSValueGetTypedArrayType[][src]

pub unsafe extern "C" fn JSValueGetTypedArrayType(
    ctx: JSContextRef,
    value: JSValueRef,
    exception: *mut JSValueRef
) -> JSTypedArrayType
Expand description

@function @abstract Returns a JavaScript value’s Typed Array type. @param ctx The execution context to use. @param value The JSValue whose Typed Array type to return. @param 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.