Check if a character is a word character (
\w, which equals
npm install is-word-character
var wordCharacter =// => true// => true// => true// => true// => false// => false
Check whether the given character code (
number), or the character code at the
first position (
string), is a word character.