Dailin 415ba84223 | vor 4 Jahren | ||
---|---|---|---|
.. | |||
index.js | vor 4 Jahren | ||
license | vor 4 Jahren | ||
package.json | vor 4 Jahren | ||
readme.md | vor 4 Jahren |
Check if the character represented by a given Unicode code point is fullwidth
$ npm install --save is-fullwidth-code-point
const isFullwidthCodePoint = require('is-fullwidth-code-point');
isFullwidthCodePoint('谢'.codePointAt());
//=> true
isFullwidthCodePoint('a'.codePointAt());
//=> false
Type: number
Code point of a character.
MIT © Sindre Sorhus