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