MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / TestMethodInternal

Method TestMethodInternal

test/objectwrap.cc:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 Napi::Value TestMethodInternal(const Napi::CallbackInfo& info) {
83 std::string str = MaybeUnwrap(info[0].ToString());
84 return Napi::String::New(info.Env(), str + " instance internal");
85 }
86
87 Napi::Value ToStringTag(const Napi::CallbackInfo& info) {
88 return Napi::String::From(info.Env(), "TestTag");

Callers

nothing calls this directly

Calls 2

MaybeUnwrapFunction · 0.85
EnvMethod · 0.80

Tested by

no test coverage detected