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

Method UnwrapTo

napi-inl.h:593–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591
592template <class T>
593bool Maybe<T>::UnwrapTo(T* out) const {
594 if (IsJust()) {
595 *out = _value;
596 return true;
597 };
598 return false;
599}
600
601template <class T>
602bool Maybe<T>::operator==(const Maybe& other) const {

Callers 7

napi-inl.hFile · 0.80
ThenMethod · 0.80
CatchMethod · 0.80
NewOrCopyMethod · 0.80
VoidCallbackFunction · 0.80
NormalJsCallbackFunction · 0.80
MaybeUnwrapToFunction · 0.80

Calls

no outgoing calls

Tested by 1

MaybeUnwrapToFunction · 0.64