isLowerCase

This commit is contained in:
Rohit Tanwar
2018-01-06 14:46:39 +05:30
parent 5b9b3cd4d4
commit 9eafe94ed7
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
### isLowerCase
Checks if the provided argument contains anything else than the lowerCase alphabets. If the second argument is provided to be true than numbers and other symbols are considered lowercase too.
Checks if the provided argument contains anything else than the lowercase alphabets. If the second argument is provided to be true than numbers and other symbols are considered lowercase too.
``` js
const isLowerCase = (val,symbol = false) => {

View File

@ -1,6 +1,6 @@
### isUpperCase
Checks if the provided argument contains anything else than the upperCase alphabets. If the second argument is provided to be true than numbers and other symbols are considered uppercase too.
Checks if the provided argument contains anything else than the uppercase alphabets. If the second argument is provided to be true than numbers and other symbols are considered uppercase too.
``` js
const isUpperCase = (val,symbol = false) => {
if (symbol) return val === val.toUpperCase()