Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

None. But letters can be neither lowercase nor uppercase.


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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: