MCPcopy Create free account
hub / github.com/anjo76/angelscript / IsMathType

Method IsMathType

sdk/angelscript/source/as_datatype.cpp:564–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564bool asCDataType::IsMathType() const
565{
566 if( tokenType == ttInt || tokenType == ttInt8 || tokenType == ttInt16 || tokenType == ttInt64 ||
567 tokenType == ttUInt || tokenType == ttUInt8 || tokenType == ttUInt16 || tokenType == ttUInt64 ||
568 tokenType == ttFloat || tokenType == ttDouble )
569 return true;
570
571 return false;
572}
573
574bool asCDataType::IsIntegerType() const
575{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected