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.

readme.md 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # is-decimal
  2. [![Build][build-badge]][build]
  3. [![Coverage][coverage-badge]][coverage]
  4. [![Downloads][downloads-badge]][downloads]
  5. [![Size][size-badge]][size]
  6. Check if a character is decimal.
  7. ## Install
  8. [npm][]:
  9. ```sh
  10. npm install is-decimal
  11. ```
  12. ## Use
  13. ```js
  14. var decimal = require('is-decimal')
  15. decimal('0') // => true
  16. decimal('9') // => true
  17. decimal('a') // => false
  18. decimal('💩') // => false
  19. ```
  20. ## API
  21. ### `decimal(character|code)`
  22. Check whether the given character code (`number`), or the character code at the
  23. first position (`string`), is decimal.
  24. ## Related
  25. * [`is-alphabetical`](https://github.com/wooorm/is-alphabetical)
  26. * [`is-hexadecimal`](https://github.com/wooorm/is-hexadecimal)
  27. * [`is-whitespace-character`](https://github.com/wooorm/is-whitespace-character)
  28. * [`is-word-character`](https://github.com/wooorm/is-word-character)
  29. ## License
  30. [MIT][license] © [Titus Wormer][author]
  31. <!-- Definitions -->
  32. [build-badge]: https://img.shields.io/travis/wooorm/is-decimal.svg
  33. [build]: https://travis-ci.org/wooorm/is-decimal
  34. [coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/is-decimal.svg
  35. [coverage]: https://codecov.io/github/wooorm/is-decimal
  36. [downloads-badge]: https://img.shields.io/npm/dm/is-decimal.svg
  37. [downloads]: https://www.npmjs.com/package/is-decimal
  38. [size-badge]: https://img.shields.io/bundlephobia/minzip/is-decimal.svg
  39. [size]: https://bundlephobia.com/result?p=is-decimal
  40. [npm]: https://docs.npmjs.com/cli/install
  41. [license]: license
  42. [author]: https://wooorm.com