Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HaxeFoundation/hxcpp
/ IsNumeric
Function
IsNumeric
include/Dynamic.h:119–124 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
117
static void __boot();
118
119
inline bool IsNumeric() const
120
{
121
if (!mPtr) return false;
122
int t = mPtr->__GetType();
123
return t==vtInt || t==vtFloat;
124
}
125
126
inline bool IsBool() const
127
{
Callers
1
operator !=
Function · 0.85
Calls
1
__GetType
Method · 0.45
Tested by
no test coverage detected