Skip to content

Glossary: Go Beyond the Basics

cmp.Ordered

A constraint from package `cmp` for types that work with `<` and `>`: integers, floats and strings.

Where the book teaches it

Related terms

constraintcomparableany