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.

ascii-control.js 343B

1234567891011121314
  1. 'use strict'
  2. var codes = require('./codes.js')
  3. // Note: EOF is seen as ASCII control here, because `null < 32 == true`.
  4. function asciiControl(code) {
  5. return (
  6. // Special whitespace codes (which have negative values), C0 and Control
  7. // character DEL
  8. code < codes.space || code === codes.del
  9. )
  10. }
  11. module.exports = asciiControl