IsTrue asserts that the supplied boolean is true
()
| 38 | |
| 39 | // IsTrue asserts that the supplied boolean is true |
| 40 | func (o OnBoolean) IsTrue() bool { |
| 41 | return o.Equals(true) |
| 42 | } |
| 43 | |
| 44 | // IsFalse asserts that the supplied boolean is false |
| 45 | func (o OnBoolean) IsFalse() bool { |