corecomparator

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: MIT Imports: 0 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ranges added in v0.4.1

func Ranges() []string

Types

type Compare

type Compare byte
const (
	Equal Compare = iota
	LeftGreater
	LeftGreaterEqual
	LeftLess
	LeftLessEqual
	NotEqual
)

func Max

func Max() Compare

func Min

func Min() Compare

func (Compare) Is

func (compare Compare) Is(other Compare) bool

func (Compare) IsEqual

func (compare Compare) IsEqual() bool

func (Compare) IsLeftGreater

func (compare Compare) IsLeftGreater() bool

func (Compare) IsLeftGreaterEqual

func (compare Compare) IsLeftGreaterEqual() bool

func (Compare) IsLeftLess

func (compare Compare) IsLeftLess() bool

func (Compare) IsLeftLessEqual

func (compare Compare) IsLeftLessEqual() bool

func (Compare) IsNotEqual added in v0.3.8

func (compare Compare) IsNotEqual() bool

func (Compare) Ranges

func (compare Compare) Ranges() []string

func (Compare) String

func (compare Compare) String() string

func (Compare) StringValue

func (compare Compare) StringValue() string

func (Compare) Value

func (compare Compare) Value() byte

Jump to

Keyboard shortcuts

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