MCPcopy Create free account
hub / github.com/Snapchat/Valdi / retainValue

Method retainValue

valdi/src/valdi/v8/V8JavaScriptContext.cpp:1074–1076  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1072
1073 v8::Local<v8::Context> context = v8::Local<v8::Context>::New(_isolate, _context);
1074 return leftVal->Equals(context, rightVal).FromMaybe(false);
1075}
1076
1077bool V8JavaScriptContext::isValueObject(const JSValue& value) {
1078 v8::HandleScope handleScope(_isolate);
1079 JSExceptionTracker tracker(*this);

Callers 1

retainRefFunction · 0.45

Calls 2

retainMethod · 0.45

Tested by

no test coverage detected