Sha256: 56447007c062e3b4cc6377a39737a1a78e759ec20dc36708762f00a8d07887a7
Contents?: true
Size: 369 Bytes
Versions: 24
Compression:
Stored size: 369 Bytes
Contents
'use strict' module.exports = alphabetical // Check if the given character code, or the character code at the first // character, is alphabetical. function alphabetical(character) { var code = typeof character === 'string' ? character.charCodeAt(0) : character return ( (code >= 97 && code <= 122) /* a-z */ || (code >= 65 && code <= 90) /* A-Z */ ) }
Version data entries
24 entries across 24 versions & 1 rubygems