Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 369B

1234567891011121314
  1. 'use strict'
  2. module.exports = alphabetical
  3. // Check if the given character code, or the character code at the first
  4. // character, is alphabetical.
  5. function alphabetical(character) {
  6. var code = typeof character === 'string' ? character.charCodeAt(0) : character
  7. return (
  8. (code >= 97 && code <= 122) /* a-z */ ||
  9. (code >= 65 && code <= 90) /* A-Z */
  10. )
  11. }