Function jscjs_sys::api::JSValueToBoolean[][src]

pub unsafe extern "C" fn JSValueToBoolean(
    ctx: JSContextRef,
    value: JSValueRef
) -> bool
Expand description

@function @abstract Converts a JavaScript value to boolean and returns the resulting boolean. @param ctx The execution context to use. @param value The JSValue to convert. @result The boolean result of conversion.