inttype

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Variant

type Variant int

func (Variant) Add

func (v Variant) Add(n int) Variant

v + n

func (Variant) Is

func (v Variant) Is(n Variant) bool

func (Variant) IsEqual

func (v Variant) IsEqual(n int) bool

func (Variant) IsGreater

func (v Variant) IsGreater(n int) bool

v.Value() > n

func (Variant) IsGreaterEqual

func (v Variant) IsGreaterEqual(n int) bool

v.Value() >= n

func (Variant) IsLess

func (v Variant) IsLess(n int) bool

v.Value() < n

func (Variant) IsLessEqual

func (v Variant) IsLessEqual(n int) bool

v.Value() <= n

func (Variant) IsTrue

func (v Variant) IsTrue(n int, compare corecomparator.Compare) bool

Here left is v, and right is `n`

func (Variant) StringValue

func (v Variant) StringValue() string

func (Variant) Subtract

func (v Variant) Subtract(n int) Variant

v - n

func (Variant) Value

func (v Variant) Value() int

Jump to

Keyboard shortcuts

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