jSValueGetType top-level property

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

Returns a JavaScript value's type. ctx (JSContextRef) The execution context to use. value (JSValueRef) The JSValue whose type you want to obtain. @result (JSType) A value of type JSType that identifies value's type.

Implementation

final int Function(Pointer ctx, Pointer value) jSValueGetType = JscFfi.lib
    .lookup<NativeFunction<Int8 Function(Pointer, Pointer)>>('JSValueGetType')
    .asFunction();