IsTrue returns whether the value is explicitly true.
()
| 30 | |
| 31 | // IsTrue returns whether the value is explicitly true. |
| 32 | func (o OptBool) IsTrue() bool { return o == OptBoolTrue } |
| 33 | |
| 34 | // IsSet returns whether the value was explicitly specified (true or false). |
| 35 | func (o OptBool) IsSet() bool { return o != OptBoolUnset } |
no outgoing calls
no test coverage detected