Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Between ¶ added in v1.12.0
func Between[T1, T2, T3 constraints.Float | constraints.Integer](v T1, min T2, max T3) bool
Between returns if a value is between the specified range [min, max]
func Clamp ¶ added in v1.3.0
func Clamp[T1, T2, T3 constraints.Float | constraints.Integer](v T1, min T2, max T3) T1
Clamp returns a value that does not exceed the specified range [min, max]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.