samuelmarina/is-even

Add case insensitive support

Opened this issue · 0 comments

I'd suggest to create a new function where every if statement checks for every possible combination of lower and upper case characters to form the strings.

Please note that .toLowerCase() is inefficient and therefore it should be avoided.