MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / Compare

Function Compare

include/Dynamic.h:134–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133
134 int Compare(const Dynamic &inRHS) const
135 {
136 if (mPtr==0) return inRHS.mPtr==0 ? 0 : -1;
137 if (inRHS.mPtr==0) return -1;
138 return mPtr->__Compare(inRHS.mPtr);
139 }
140
141 bool operator==(const null &inRHS) const { return mPtr==0; }
142 bool operator!=(const null &inRHS) const { return mPtr!=0; }

Callers 3

operator==Method · 0.85
operator!=Method · 0.85
CompareMethod · 0.85

Calls 1

__CompareMethod · 0.45

Tested by

no test coverage detected