mirror of
https://github.com/nodejs/node.git
synced 2025-05-06 21:35:34 +00:00
![]() Greatly simplify how ESLint and its plugins are installed. PR-URL: https://github.com/nodejs/node/pull/53413 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> |
||
---|---|---|
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
is-alphabetical
Check if a character is alphabetical.
Install
npm:
npm install is-alphabetical
Use
var alphabetical = require('is-alphabetical')
alphabetical('a') // => true
alphabetical('B') // => true
alphabetical('0') // => false
alphabetical('💩') // => false
API
alphabetical(character|code)
Check whether the given character code (number
), or the character code at the
first position (string
), is alphabetical.