Documentation
¶
Index ¶
- type Variant
- func (v Variant) Add(n byte) Variant
- func (v Variant) Is(n Variant) bool
- func (v Variant) IsBetween(start, end byte) bool
- func (v Variant) IsBetweenInt(start, end int) bool
- func (v Variant) IsEqual(n byte) bool
- func (v Variant) IsEqualInt(n int) bool
- func (v Variant) IsGreater(n byte) bool
- func (v Variant) IsGreaterEqual(n byte) bool
- func (v Variant) IsGreaterEqualInt(n int) bool
- func (v Variant) IsGreaterInt(n int) bool
- func (v Variant) IsLess(n byte) bool
- func (v Variant) IsLessEqual(n byte) bool
- func (v Variant) IsLessEqualInt(n int) bool
- func (v Variant) IsLessInt(n int) bool
- func (v Variant) IsTrue(n byte, compare corecomparator.Compare) bool
- func (v Variant) StringValue() string
- func (v Variant) Subtract(n byte) Variant
- func (v Variant) Value() byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Variant ¶
type Variant byte
func GetSetVariant ¶ added in v0.0.9
func (Variant) IsBetweenInt ¶ added in v0.0.5
val >= start && val <= end
func (Variant) IsEqualInt ¶ added in v0.0.5
func (Variant) IsGreaterEqualInt ¶ added in v0.0.5
v.Value() >= n
func (Variant) IsGreaterInt ¶ added in v0.0.5
v.Value() > n
func (Variant) IsLessEqualInt ¶ added in v0.0.5
v.Value() <= n
func (Variant) IsTrue ¶
func (v Variant) IsTrue(n byte, compare corecomparator.Compare) bool
Here left is v, and right is `n`
func (Variant) StringValue ¶
Click to show internal directories.
Click to hide internal directories.