Function javascriptcore_sys::JSValueToBoolean
[−]
[src]
pub unsafe extern "C" fn JSValueToBoolean(
ctx: JSContextRef,
value: JSValueRef
) -> bool
Converts a JavaScript value to boolean and returns the resulting boolean.
ctx: The execution context to use.value: TheJSValueto convert.
Returns the boolean result of conversion.