lhl 982c208bef 9-30 | vor 2 Jahren | |
---|---|---|
.. | ||
index.js | vor 2 Jahren | |
license | vor 2 Jahren | |
package.json | vor 2 Jahren | |
readme.md | vor 2 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