Documentation ¶ Index ¶ type Value func All(values []Value) Value func And(v1 Value, v2 Value) Value func Any(values []Value) Value func Not(v Value) Value func Or(v1 Value, v2 Value) Value func Parse(s string) (Value, error) func ParseBool(b bool) Value func (v Value) BoolValue() bool func (v Value) EqualTo(v2 Value) Value func (v Value) String() string 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 Source Files ¶ View all Source files ternary.go Click to show internal directories. Click to hide internal directories.