Really cool. Wrote a shipping rate feature recently which supported specified weight ranges in it, this would have been ideal for that. Oh and by the way, you can use infinity if you only have one limit `clamp(-Float::INFINITY, Float::INFINITY)`
@GorailsTV6 ай бұрын
Someone also mentioned nil works for clamp. Need to try it out!
@CristianMolina6 ай бұрын
Awesome! just checked the docs and seems to support chars, or any comparable. Cool