Function JSValueIsBoolean

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

Tests whether a JavaScript value’s type is the boolean type.

  • ctx: The execution context to use.
  • value: The JSValueRef to test.

Returns true if value’s type is the boolean type, otherwise false.