generic

package
v0.29.7 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Btoi added in v0.28.0

func Btoi(b bool) int

func Min

func Min[T Number](a, b T) T

Types

type Float

type Float interface {
	float32 | float64
}

type Integer

type Integer interface {
	Signed | Unsigned
}

type Number

type Number interface {
	Integer | Float
}

type Signed

type Signed interface {
	int8 | int16 | int32 | int64 | int
}

type Unsigned

type Unsigned interface {
	uint8 | uint16 | uint32 | uint64 | uint
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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