I was doing a tutorial how to create my own class.
My goal is to run the function foo.caps? and see “Yes” or “No” to indicate whether the string in foo is all capital letters or not.
I can’t seem to find that section of the tutorial or a good way to do this.
This extends the String class with a method that can determine if it is uppercase.