|
Converts this string to a boolean.
- Parameters:
-
| defaultValue | value returned when string is not recognized as boolean |
- Returns:
- Returns true if the string in lower case is "t", "true", "y", "yes", or "1". Returns false if the string in lower case is "f", "false", "n", "no", or "0". Otherwise returns defaultValue.
|