MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / isNumeric

Function isNumeric

lib/vf_settokenvalue.cpp:125–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 static bool isNumeric(const Value& value) {
126 return value.isIntValue() || value.isFloatValue();
127 }
128
129 static void setTokenValueCast(Token *parent, const ValueType &valueType, Value value, const Settings &settings)
130 {

Callers 1

setTokenValueCastFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected