Add helper to get int from variable

This commit is contained in:
WarmUpTill
2023-06-07 14:13:12 +02:00
committed by WarmUpTill
parent 4b0a631987
commit 6cc224aeec
4 changed files with 17 additions and 0 deletions

View File

@@ -9,5 +9,6 @@ std::variant<double, std::string>
EvalMathExpression(const std::string &expression);
bool IsValidNumber(const std::string &);
std::optional<double> GetDouble(const std::string &);
std::optional<int> GetInt(const std::string &);
} // namespace advss