pub unsafe extern "C" fn JSValueIsUndefined(
ctx: JSContextRef,
value: JSValueRef,
) -> bool
Expand description
Tests whether a JavaScript value’s type is the undefined
type.
ctx
: The execution context to use.value
: TheJSValueRef
to test.
Returns true
if value
’s type is the undefined
type, otherwise false
.