Documentation ¶
Index ¶
- func Any[T any](_ T) bool
- func BoolCompare(a, b bool) int
- func Default[T any]() T
- func Equal(x, y any) bool
- func NotAny[T any](_ T) bool
- func NumericCompare[T constraints.Float | constraints.Integer](v1, v2 T) int
- func OrderedCompare[T constraints.Ordered](t1, t2 T) int
- func Pointer[T any](v T) *T
- func Self[T any](x T) T
- func Value[T any](p *T) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolCompare ¶
func NumericCompare ¶
func NumericCompare[T constraints.Float | constraints.Integer](v1, v2 T) int
func OrderedCompare ¶
func OrderedCompare[T constraints.Ordered](t1, t2 T) int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.