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

Method operator==

napi-inl.h:602–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600
601template <class T>
602bool Maybe<T>::operator==(const Maybe& other) const {
603 return (IsJust() == other.IsJust()) &&
604 (!IsJust() || Unwrap() == other.Unwrap());
605}
606
607template <class T>
608bool Maybe<T>::operator!=(const Maybe& other) const {

Callers 2

napi-inl.hFile · 0.45
operator!=Method · 0.45

Calls 3

IsJustMethod · 0.80
UnwrapMethod · 0.80
ValueMethod · 0.80

Tested by

no test coverage detected