UNPKG

pure-conditions

Version:
5 lines (4 loc) 113 B
function isAlpha (string) { return [...string].every(char => /[A-Za-z]/.test(char)) } module.exports = isAlpha