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

Function Just

napi-inl.h:624–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622
623template <class T>
624inline Maybe<T> Just(const T& t) {
625 return Maybe<T>(t);
626}
627
628////////////////////////////////////////////////////////////////////////////////
629// BasicEnv / Env class

Callers 7

ThenMethod · 0.85
CatchMethod · 0.85
GetMethod · 0.85
operator()Method · 0.85
CallMethod · 0.85
MakeCallbackMethod · 0.85
NewMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected