JSValueMakeBoolean top-level property
Creates a JavaScript value of the boolean type.
ctx
The execution context to use.
boolean
The bool to assign to the newly created JSValue.
@result
A JSValue of the boolean type, representing the value of boolean.
Implementation
final JSValueRef Function(JSContextRef ctx, bool boolean) JSValueMakeBoolean = jscLib.lookup<NativeFunction<JSValueRef Function(JSContextRef ctx, Bool boolean)>>('JSValueMakeBoolean').asFunction();