Equal returns true if both booleans have the same value or are both null.
(other Bool)
| 142 | |
| 143 | // Equal returns true if both booleans have the same value or are both null. |
| 144 | func (s Bool) Equal(other Bool) bool { |
| 145 | return s.Valid == other.Valid && (!s.Valid || s.Bool == other.Bool) |
| 146 | } |
no outgoing calls