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

Method isInt

include/cpp/Variant.h:241–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 #define CPP_VARIANT_TWICE_H
240
241 bool Variant::isInt() const
242 {
243 return type==typeInt || (type==typeObject && valObject && valObject->__GetType()==vtInt);
244 }
245 bool Variant::isInt64() const
246 {
247 return type==typeInt64 || (type==typeObject && valObject && valObject->__GetType()==vtInt64);

Callers 1

isIntTypeFunction · 0.80

Calls 1

__GetTypeMethod · 0.45

Tested by

no test coverage detected