Function jscjs_sys::api::JSValueMakeBoolean [−][src]
pub unsafe extern "C" fn JSValueMakeBoolean(
ctx: JSContextRef,
boolean: bool
) -> JSValueRef
Expand description
@function @abstract Creates a JavaScript value of the boolean type. @param ctx The execution context to use. @param boolean The bool to assign to the newly created JSValue. @result A JSValue of the boolean type, representing the value of boolean.