internal

package
v0.5.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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

const (
	TriNoState TriBool = iota
	TriFalse
	TriTrue
)

func (TriBool) And

func (s TriBool) And(b TriBool) TriBool

func (TriBool) Equal

func (s TriBool) Equal(b TriBool) bool

func (TriBool) MarshalText added in v0.5.11

func (s TriBool) MarshalText() (b []byte, err error)

func (TriBool) Not

func (s TriBool) Not() TriBool

func (TriBool) Or

func (s TriBool) Or(b TriBool) TriBool

func (TriBool) String added in v0.5.11

func (s TriBool) String() string

func (*TriBool) UnmarshalText added in v0.5.11

func (s *TriBool) UnmarshalText(b []byte) error

func (TriBool) Xor added in v0.5.11

func (s TriBool) Xor(b TriBool) TriBool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL