how to check if a char is a letter java

55

How to check if a char is a letter -

function isCharacterALetter(char) {
  return (/[a-zA-Z]/).test(char)
}

Comments

Submit
0 Comments