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

Method operator *

include/cpp/Variant.h:193–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192 template<typename T>
193 inline cpp::Variant operator * (const T &inRHS) const
194 {
195 if (::cpp::isIntType(inRHS) && isInt())
196 return asInt() * (int)inRHS;
197 return asDouble() * (double)inRHS;
198 }
199
200 inline bool operator < (const String &inRHS) const;
201 inline bool operator <= (const String &inRHS) const;

Callers

nothing calls this directly

Calls 1

isIntTypeFunction · 0.85

Tested by

no test coverage detected