jSValueToBoolean top-level property
Converts a JavaScript value to boolean and returns the resulting boolean.
ctx (JSContextRef) The execution context to use.
value (JSValueRef) The JSValue to convert.
@result (bool) The boolean result of conversion.
Implementation
final int Function(Pointer ctx, Pointer value) jSValueToBoolean = JscFfi.lib
.lookup<NativeFunction<Int8 Function(Pointer, Pointer)>>('JSValueToBoolean')
.asFunction();