Bool returns ws as a boolean. If ws is not a boolean, false is returned.
()
| 215 | // Bool returns ws as a boolean. If ws is not a |
| 216 | // boolean, false is returned. |
| 217 | func (ws WeakString) Bool() bool { |
| 218 | return string(ws) == "true" |
| 219 | } |
| 220 | |
| 221 | // String returns ws as a string. |
| 222 | func (ws WeakString) String() string { |
no outgoing calls
no test coverage detected