ternary

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value int
const (
	FALSE Value = iota - 1
	UNKNOWN
	TRUE
)

func All added in v0.2.2

func All(values []Value) Value

func And

func And(v1 Value, v2 Value) Value

func Any added in v0.2.2

func Any(values []Value) Value

func Not

func Not(v Value) Value

func Or

func Or(v1 Value, v2 Value) Value

func Parse

func Parse(s string) (Value, error)

func ParseBool

func ParseBool(b bool) Value

func (Value) BoolValue

func (v Value) BoolValue() bool

func (Value) EqualTo

func (v Value) EqualTo(v2 Value) Value

func (Value) String

func (v Value) String() string

Jump to

Keyboard shortcuts

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