NewBoolean returns a new Boolean instance. If reporter is nil, the function panics. Example: boolean := NewBoolean(t, true) boolean.IsTrue()
(reporter Reporter, value bool)
| 21 | // boolean := NewBoolean(t, true) |
| 22 | // boolean.IsTrue() |
| 23 | func NewBoolean(reporter Reporter, value bool) *Boolean { |
| 24 | return newBoolean(newChainWithDefaults("Boolean()", reporter), value) |
| 25 | } |
| 26 | |
| 27 | // NewBooleanC returns a new Boolean instance with config. |
| 28 | // |
searching dependent graphs…