builtin

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal[T comparable](a, b T) bool

func Greater

func Greater[T Ord](a, b T) bool

func GreaterEqual

func GreaterEqual[T Ord](a, b T) bool

func Less

func Less[T Ord](a, b T) bool

func LessEqual

func LessEqual[T Ord](a, b T) bool

Types

type Compf

type Compf[T any] func(a, b T) bool

type Eqf

type Eqf[T any] func(a T) bool

type FloatType

type FloatType interface {
	~float32 | ~float64
}

type IntegerType

type IntegerType interface {
	~uint8 | ~uint16 | ~uint32 | ~uint64 | ~int8 | ~int16 | ~int32 | ~int64 | ~int | ~uint | ~uintptr
}

type NumberType

type NumberType interface {
	IntegerType | FloatType
}

type Ord

type Ord interface {
	NumberType | ~string
}

type Ordf

type Ordf[T any] func(a, b T) bool

Jump to

Keyboard shortcuts

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