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.
Erik Römmelt d20e8a9d10 Fix EsLint Brackets (error markup 'const'). 5 years ago
..
index.js Fix EsLint Brackets (error markup 'const'). 5 years ago
license Fix EsLint Brackets (error markup 'const'). 5 years ago
package.json Fix EsLint Brackets (error markup 'const'). 5 years ago
readme.md Fix EsLint Brackets (error markup 'const'). 5 years ago

readme.md

is-fullwidth-code-point Build Status

Check if the character represented by a given Unicode code point is fullwidth

Install

$ npm install --save is-fullwidth-code-point

Usage

const isFullwidthCodePoint = require('is-fullwidth-code-point');

isFullwidthCodePoint('谢'.codePointAt());
//=> true

isFullwidthCodePoint('a'.codePointAt());
//=> false

API

isFullwidthCodePoint(input)

input

Type: number

Code point of a character.

License

MIT © Sindre Sorhus