MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / operator -

Method operator -

include/hx/FieldRef.h:197–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 bool operator !() { return ! mObject->__GetItem(mIndex)->__ToInt(); }
196 int operator ~() { return ~ mObject->__GetItem(mIndex)->__ToInt(); }
197 double operator -() { return - mObject->__GetItem(mIndex)->__ToDouble(); }
198
199 inline bool operator==(const null &) const { return !mObject; }
200 inline bool operator!=(const null &) const { return mObject; }

Callers

nothing calls this directly

Calls 2

__ToDoubleMethod · 0.45
__GetItemMethod · 0.45

Tested by

no test coverage detected