Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Max
deprecated
func Max[T maths.EssentialNumTypes](v1 ...T) T
Max provides a maximum value out of the ones provided
Deprecated: use `maths.Max` instead
func Min
deprecated
func Min[T maths.EssentialNumTypes](v1 ...T) T
Min provides a minimum value out of the ones provided
Deprecated: use `maths.Min` instead
func Or ¶ added in v0.9.3
func Or[T comparable](vals ...T) T
Or returns first non-zero item out of provides ones. If no argument is non-zero, it returns the zero value. Note: this is backported from go 1.22
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.