Function javascriptcore_sys::JSValueIsBoolean
source · pub unsafe extern "C" fn JSValueIsBoolean(
ctx: JSContextRef,
value: JSValueRef
) -> boolExpand description
Tests whether a JavaScript value’s type is the boolean type.
ctx: The execution context to use.value: TheJSValueto test.
Returns true if value’s type is the boolean type, otherwise false.