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

Class Name

napi.h:707–714  ·  view source on GitHub ↗

A JavaScript string or symbol value (that can be used as a property name).

Source from the content-addressed store, hash-verified

705
706/// A JavaScript string or symbol value (that can be used as a property name).
707class Name : public Value {
708 public:
709 static void CheckCast(napi_env env, napi_value value);
710
711 Name(); ///< Creates a new _empty_ Name instance.
712 Name(napi_env env,
713 napi_value value); ///< Wraps a Node-API value primitive.
714};
715
716/// A JavaScript string value.
717class String : public Name {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected