| 993 | } |
| 994 | |
| 995 | bool V8JavaScriptContext::isValueUndefined(const JSValue& value) { |
| 996 | v8::HandleScope handleScope(_isolate); |
| 997 | JSExceptionTracker tracker(*this); |
| 998 | |
| 999 | auto val = fromValdiJSValue(_isolate, value, tracker); |
| 1000 | if (!tracker) { |
| 1001 | tracker.clearError(); |
| 1002 | return false; |
| 1003 | } |
| 1004 | return val->IsUndefined(); |
| 1005 | } |
| 1006 | bool V8JavaScriptContext::isValueNull(const JSValue& value) { |
| 1007 | v8::HandleScope handleScope(_isolate); |
| 1008 | JSExceptionTracker tracker(*this); |
no test coverage detected