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

Function Weak

napi-inl.h:3786–3788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3784
3785template <typename T>
3786inline Reference<T> Weak(T value) {
3787 return Reference<T>::New(value, 0);
3788}
3789
3790inline ObjectReference Weak(Object value) {
3791 return Reference<Object>::New(value, 0);

Callers 3

SetObjectFunction · 0.85
SetCastedObjectsFunction · 0.85
CreateWeakArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected