Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
index.js | 2 years ago | |
license | 2 years ago | |
package.json | 2 years ago | |
readme.md | 2 years ago |
Check if a character is alphabetical.
npm:
npm install is-alphabetical
var alphabetical = require('is-alphabetical')
alphabetical('a') // => true
alphabetical('B') // => true
alphabetical('0') // => false
alphabetical('💩') // => false
alphabetical(character|code)
Check whether the given character code (number
), or the character code at the
first position (string
), is alphabetical.