Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtLeast ¶ added in v1.6.3
func AtLeast[T Numerical](x, lower T) T
AtLeast returns the greater of x or lower.
func AtMost ¶ added in v1.6.3
func AtMost[T Numerical](x, upper T) T
AtMost returns the smaller of x or upper.