4 #ifndef QCC_SUPPORT_BOOL
12 // Transitional aliases
13 [[deprecated("use true")]] [[alias("true")]] const bool TRUE;
14 [[deprecated("use false")]] [[alias("false")]] const bool FALSE;
16 // get true/false value of a string with multiple different inputs
17 float InterpretBoolean(string input)
19 switch (strtolower(input))
31 default: return stof(input);
35 float boolean(float value) { // if value is 0 return false (0), otherwise return true (1)
36 return (value == 0) ? false : true;