Function Blam::Converters::StringToBool¶
Defined in File converters.h
Function Documentation¶
-
bool
Blam::Converters::StringToBool(std::string string)¶ Converts a string to a boolean.
The following will be interpreted as
true:The following will be interpreted as
false:Any other value will return
falseand add a message to console.- Return
The string evaluated to a
bool.- Parameters
string: - The string to convert.