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

Method IsJust

nan.h:245–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243 public:
244 inline bool IsNothing() const { return !has_value_; }
245 inline bool IsJust() const { return has_value_; }
246
247 inline T ToChecked() const { return FromJust(); }
248 inline void Check() const { FromJust(); }

Callers 4

operator==Method · 0.80
MaybeMethod · 0.80
NAN_METHODFunction · 0.80
NAN_METHODFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected