Ohm-Management - Projektarbeit B-ME
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 836B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # is-fullwidth-code-point [![Build Status](https://travis-ci.org/sindresorhus/is-fullwidth-code-point.svg?branch=master)](https://travis-ci.org/sindresorhus/is-fullwidth-code-point)
  2. > Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
  3. ## Install
  4. ```
  5. $ npm install --save is-fullwidth-code-point
  6. ```
  7. ## Usage
  8. ```js
  9. const isFullwidthCodePoint = require('is-fullwidth-code-point');
  10. isFullwidthCodePoint('谢'.codePointAt());
  11. //=> true
  12. isFullwidthCodePoint('a'.codePointAt());
  13. //=> false
  14. ```
  15. ## API
  16. ### isFullwidthCodePoint(input)
  17. #### input
  18. Type: `number`
  19. [Code point](https://en.wikipedia.org/wiki/Code_point) of a character.
  20. ## License
  21. MIT © [Sindre Sorhus](https://sindresorhus.com)