MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / isNumber

Function isNumber

lib/macro/macro-condition-variable.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33};
34
35static bool isNumber(const Variable &var)
36{
37 return var.DoubleValue().has_value();
38}
39
40static bool compareNumber(const Variable &var, double value, bool less)
41{

Callers 1

CheckConditionMethod · 0.70

Calls 1

DoubleValueMethod · 0.45

Tested by

no test coverage detected