Boolean

package
v0.0.0-...-a1e9bd1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InspectStruct

type InspectStruct struct {
	Type string
	Addr string
	Data string
}

Return a string representing a Boolean.Interface with its address and its value.

type Interface

type Interface interface {
	ToGoBool() bool
	ToGoString() string
	IsTrue() bool
	IsFalse() bool
	Equal(Interface) Interface
	And(Interface) Interface
	Or(Interface) Interface
	Not() Interface
	Xor(Interface) Interface
	IsNull() bool
	Inspect() Inspect.Interface
}

func False

func False() Interface

Return a new Boolean.Interface with a data.value set to false.

func New

func New(b bool) Interface

func Null

func Null() Interface

Null returns the Null-Object Boolean.

func True

func True() Interface

Return a new Boolean.Interface with a data.value set to true.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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