| 1027 | } |
| 1028 | |
| 1029 | bool V8JavaScriptContext::isValueNumber(const JSValue& value) { |
| 1030 | v8::HandleScope handleScope(_isolate); |
| 1031 | JSExceptionTracker tracker(*this); |
| 1032 | |
| 1033 | auto val = fromValdiJSValue(_isolate, value, tracker); |
| 1034 | if (!tracker) { |
| 1035 | tracker.clearError(); |
| 1036 | return false; |
| 1037 | } |
| 1038 | return val->IsNumber() || val->IsNumberObject(); |
| 1039 | } |
| 1040 | |
| 1041 | bool V8JavaScriptContext::isValueLong(const JSValue& value) { |
| 1042 | return false; |
nothing calls this directly
no test coverage detected