Bool returns the boolean state associated with a given key, or the value "def", if no value was associated. The "boolean state associated with a given key" is defined as the case-insensitive string comparison with the following: 1) true if... "true", "1", "on", "yes", or "t" 2) false if... "false"
(key string, def bool)
| 29 | // 2) false if... |
| 30 | // "false", "0", "off", "no", "f", or otherwise. |
| 31 | Bool(key string, def bool) (val bool) |
| 32 | |
| 33 | // Int returns the int value associated with a given key, or the value |
| 34 | // "def", if no value was associated. |
no outgoing calls