MCPcopy Create free account
hub / github.com/nodejs/nan / ObjectProtoToString

Function ObjectProtoToString

nan_maybe_43_inl.h:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217inline MaybeLocal<v8::String> ObjectProtoToString(
218 v8::Local<v8::Object> obj) {
219 v8::Isolate *isolate = v8::Isolate::GetCurrent();
220 v8::EscapableHandleScope scope(isolate);
221 return scope.Escape(obj->ObjectProtoToString(isolate->GetCurrentContext())
222 .FromMaybe(v8::Local<v8::String>()));
223}
224
225inline Maybe<bool> HasOwnProperty(
226 v8::Local<v8::Object> obj

Callers

nothing calls this directly

Calls 2

EscapeMethod · 0.80
FromMaybeMethod · 0.45

Tested by

no test coverage detected