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

Method Check

napi-inl.h:577–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575
576template <class T>
577void Maybe<T>::Check() const {
578 NAPI_CHECK(IsJust(), "Napi::Maybe::Check", "Maybe value is Nothing.");
579}
580
581template <class T>
582T Maybe<T>::Unwrap() const {

Callers 1

VoidCallbackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected