MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / From

Method From

napi-inl.h:1501–1503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1499
1500struct vf_utf16_charp {
1501 static String From(napi_env env, const char16_t* value) {
1502 return String::New(env, value);
1503 }
1504};
1505struct vf_utf8_string {
1506 static String From(napi_env env, const std::string& value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected