compare

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(left, right any) bool

Equal checks if two values are equal or not. (check both type and value)

func EqualValue

func EqualValue(left, right any) bool

EqualValue checks if two values are equal or not. (check value only)

func GreaterOrEqual

func GreaterOrEqual(left, right any) bool

GreaterOrEqual checks if value `left` greater than or equal to value `right`.

func GreaterThan

func GreaterThan(left, right any) bool

GreaterThan checks if value `left` greater than value `right`.

func LessOrEqual

func LessOrEqual(left, right any) bool

LessOrEqual checks if value `left` less than or equal to value `right`.

func LessThan

func LessThan(left, right any) bool

LessThan checks if value `left` less than value `right`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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