isLowerCase
This commit is contained in:
@ -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) => {
|
||||
|
||||
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user