mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-29 20:55:28 -05:00
15 lines
340 B
C++
15 lines
340 B
C++
#pragma once
|
|
#include <string>
|
|
#include <variant>
|
|
#include <optional>
|
|
|
|
namespace advss {
|
|
|
|
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
|