clamp method

num clamp(
  1. num value
)

Implementation

num clamp(num value) => value.clamp(min, max);