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

Converts a JavaScript value to boolean and returns the resulting boolean.

  • ctx: The execution context to use.
  • value: The JSValue to convert.

Returns the boolean result of conversion.