Documentation ¶
Index ¶
- type TriBool
- func (s TriBool) And(b TriBool) TriBool
- func (s TriBool) Equal(b TriBool) bool
- func (s TriBool) MarshalText() (b []byte, err error)
- func (s TriBool) Not() TriBool
- func (s TriBool) Or(b TriBool) TriBool
- func (s TriBool) String() string
- func (s *TriBool) UnmarshalText(b []byte) error
- func (s TriBool) Xor(b TriBool) TriBool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TriBool ¶
type TriBool int
TriBool wraps a tri-state boolean value.
See: https://en.wikipedia.org/wiki/Three-valued_logic
func (TriBool) MarshalText ¶ added in v0.5.11
func (*TriBool) UnmarshalText ¶ added in v0.5.11
Click to show internal directories.
Click to hide internal directories.