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

Function Value

napi-inl.h:1599–1606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1597
1598template <typename Key>
1599inline Object::PropertyLValue<Key>::operator Value() const {
1600 MaybeOrValue<Value> val = Object(_env, _object).Get(_key);
1601#ifdef NODE_ADDON_API_ENABLE_MAYBE
1602 return val.Unwrap();
1603#else
1604 return val;
1605#endif
1606}
1607
1608template <typename Key>
1609template <typename ValueType>

Callers 15

napi-inl.hFile · 0.70
boolFunction · 0.70
FromMethod · 0.70
AsValueMethod · 0.70
GetMethod · 0.70
BufferMethod · 0.70
CallMethod · 0.70
MakeCallbackMethod · 0.70
SetMethod · 0.70
operator()Method · 0.70

Calls 3

ObjectClass · 0.85
GetMethod · 0.80
UnwrapMethod · 0.80

Tested by

no test coverage detected