Documentation
¶
Index ¶
- type Variant
- func (v Variant) Add(n int) Variant
- func (v Variant) Is(n Variant) bool
- func (v Variant) IsCompareResult(n int, compare corecomparator.Compare) bool
- func (v Variant) IsEqual(n int) bool
- func (v Variant) IsGreater(n int) bool
- func (v Variant) IsGreaterEqual(n int) bool
- func (v Variant) IsLess(n int) bool
- func (v Variant) IsLessEqual(n int) bool
- func (v Variant) IsUninitialized() bool
- func (v Variant) StringValue() string
- func (v Variant) Subtract(n int) Variant
- func (v Variant) Value() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Variant ¶
type Variant int
func GetSetVariant ¶ added in v0.0.9
func (Variant) IsCompareResult ¶ added in v0.4.1
func (v Variant) IsCompareResult(n int, compare corecomparator.Compare) bool
IsCompareResult Here left is v, and right is `n`
func (Variant) IsGreaterEqual ¶
IsGreaterEqual v.Value() >= n
func (Variant) IsUninitialized ¶ added in v0.3.8
func (Variant) StringValue ¶
Click to show internal directories.
Click to hide internal directories.