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