Function Blam::Converters::StringToBool

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 false and add a message to console.

Return

The string evaluated to a bool.

Parameters
  • string: - The string to convert.