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.

isNumbery.js 331B

12345678910111213
  1. 'use strict';
  2. /**
  3. * Check whether it's a number or a number-like string:
  4. * i.e. when coerced to a number it == itself.
  5. *
  6. * @param {string | number} value
  7. */
  8. module.exports = function (value) {
  9. /* eslint-disable eqeqeq */
  10. return value.toString().trim().length !== 0 && Number(value) == value;
  11. /* eslint-enable eqeqeq */
  12. };