MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / operator()

Method operator()

napi-inl.h:2835–2838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2833 : Object(env, value) {}
2834
2835inline MaybeOrValue<Value> Function::operator()(
2836 const std::initializer_list<napi_value>& args) const {
2837 return Call(Env().Undefined(), args);
2838}
2839
2840inline MaybeOrValue<Value> Function::Call(
2841 const std::initializer_list<napi_value>& args) const {

Callers

nothing calls this directly

Calls 8

CallFunction · 0.85
EnvClass · 0.85
JustFunction · 0.85
IsJustMethod · 0.80
EscapeMethod · 0.80
UnwrapMethod · 0.80
EnvMethod · 0.80
ValueFunction · 0.70

Tested by

no test coverage detected