This is the simplest solution I found. It returns true
or false
for the given string if it contains all letters of the alphabet in it or not.
Here is the code I found:
new Set("A quick brown fox jumps over the lazy dog"
.toLowerCase()
.replace(/[^a-z]/gi, "")
.split("")
).size === 26
Any other simpler form of checking to see if a string contains all of the letters in the alphabet would be helpful.
Thanks!