Add a clamp function to math.js #23
Closedsyntaqx opened this
Resolved by Add a clamp function to math.js #24, merged by syntaqx
Add clamp(value, min, max) to math.js: returns value limited to the range [min, max]. Throw a RangeError when min > max. Add tests next to the existing ones.
Pull requests
1 for this issue