MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / toBool

Function toBool

Tactility/Source/settings/TouchCalibrationSettings.cpp:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25static tt::Mutex cacheMutex;
26
27static bool toBool(const std::string& value) {
28 return value == "1" || value == "true" || value == "True";
29}
30
31static bool parseInt32(const std::string& value, int32_t& out) {
32 errno = 0;

Callers 1

loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected