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

Method FromJust

nan.h:255–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253 }
254
255 inline T FromJust() const {
256#if defined(V8_ENABLE_CHECKS)
257 assert(IsJust() && "FromJust is Nothing");
258#endif // V8_ENABLE_CHECKS
259 return value_;
260 }
261
262 inline T FromMaybe(const T& default_value) const {
263 return has_value_ ? value_ : default_value;

Callers 15

DefineOwnPropertyFunction · 0.80
GetPropertyAttributesFunction · 0.80
operator==Method · 0.80
SaveToPersistentMethod · 0.80
NAN_METHODMethod · 0.80
NAN_METHODMethod · 0.80
NAN_METHODFunction · 0.80
NAN_METHODFunction · 0.80
NAN_MODULE_INITFunction · 0.80
NAN_METHODFunction · 0.80
NAN_METHODFunction · 0.80
NAN_METHODFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected