Re:Zig 0.9.0
by saagarjha on Tuesday December 21, 2021 @03:50AM
(#29635393)
I don't think Swift has a clamping function in the standard library, unfortunately, so we'll have to roll one ourselves. One question remains of what should be done for the empty string; I've chosen to return nil for this case.
[ Parent
| on HN ]
There are no comments on this comment yet.