Versions in this module Expand all Collapse all v2 v2.1.2 Oct 14, 2025 v2.0.0 Oct 14, 2025 Changes in this version + func Clamp[T cmp.Ordered](x, minV, maxV T) T