Daniel Hübleitner 615619e6e7 start werk | vor 5 Jahren | |
---|---|---|
.. | ||
index.js | vor 5 Jahren | |
license | vor 5 Jahren | |
package.json | vor 5 Jahren | |
readme.md | vor 5 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