boolval boolval -- Casts a variable as a boolean value. Casts variable as a boolean value. If it fails, returns 1. Usage bool func::boolval(string* variable)