| 1177 | return Valdi::ValueType::Undefined; |
| 1178 | } |
| 1179 | if (!getLongConstructor().empty() && |
| 1180 | JS_IsInstanceOf(_context, jsValue, fromValdiJSValue(getLongConstructor().get())) != 0) { |
| 1181 | return Valdi::ValueType::Long; |
| 1182 | } |
| 1183 | |
| 1184 | // Regular object |
| 1185 | return Valdi::ValueType::Map; |
| 1186 | } |
| 1187 | |
| 1188 | bool QuickJSJavaScriptContext::isValueUndefined(const Valdi::JSValue& value) { |
| 1189 | auto guard = _threadAccessChecker.guard(); |
nothing calls this directly
no test coverage detected