cmp

package
v0.0.0-...-38c3ca2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max[T constraints.Ordered](a, b T) T

Max returns the largest between a and b. If a is equal to b, a is returned.

func Min

func Min[T constraints.Ordered](a, b T) T

Min returns the smallest between a and b. If a is equal to b, a is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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