Function javascriptcore_sys::JSValueMakeBoolean
[−]
[src]
pub unsafe extern "C" fn JSValueMakeBoolean(
ctx: JSContextRef,
boolean: bool
) -> JSValueRef
Creates a JavaScript value of the boolean type.
ctx: The execution context to use.boolean: Theboolto assign to the newly createdJSValue.
Returns a JSValue of the boolean type, representing the value of boolean.