MCPcopy Create free account
hub / github.com/nodejs/nan / FromMaybe

Method FromMaybe

nan.h:262–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 }
261
262 inline T FromMaybe(const T& default_value) const {
263 return has_value_ ? value_ : default_value;
264 }
265
266 inline bool operator==(const Maybe &other) const {
267 return (IsJust() == other.IsJust()) &&

Callers 15

ToDetailStringFunction · 0.45
ToArrayIndexFunction · 0.45
NewInstanceFunction · 0.45
GetFunctionFunction · 0.45
GetFunction · 0.45
GetPropertyNamesFunction · 0.45
GetOwnPropertyNamesFunction · 0.45
ObjectProtoToStringFunction · 0.45
GetRealNamedPropertyFunction · 0.45
CallAsFunctionFunction · 0.45
CallAsConstructorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected