News for hackers. Stuff that matters.
Re:A Cross-Platform String Library Written in Swift by setr on Monday March 20, 2017 @02:21AM (#13912159)
In which case, the function(s) should really be throwing some kind of error, since they can't reasonably be applied to the input.

But checking !(isUppercase(str) || isLowercase(str)) to see if its not case-able(?) is absurd

Obviously you'd instead want the function notCaseable(str).

There are no comments on this comment yet.