-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added type check to to_lower and to_upper.
to_lower and to_upper used to stringify the argument passed to it. This change will give a user an appropriate exception when passing anything else to the function. If a player would like to stringify the argument anyways, he could do that using the string() function.
- Loading branch information
1 parent
98b2d08
commit a3e76b6
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters