Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPTrack/open_ptrack_v2
/ IsNumber
Function
IsNumber
opt_utils/src/json.cpp:85–88 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
83
return (c ==
'\n'
|| c ==
' '
|| c ==
'\t'
|| c ==
'\r'
|| c ==
'\f'
);
84
}
85
inline bool IsNumber(char c)
86
{
87
return ((c >=
'0'
&& c <=
'9'
) || c ==
'.'
|| c ==
'-'
);
88
}
89
90
Node::Node()
91
{
Callers
4
ToInt
Method · 0.85
ToFloat
Method · 0.85
ToDouble
Method · 0.85
interpretValue
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected