lhl 55a7808c4f create | 6 mesiacov pred | |
---|---|---|
.. | ||
index.js | 6 mesiacov pred | |
license | 6 mesiacov pred | |
package.json | 6 mesiacov pred | |
readme.md | 6 mesiacov pred |
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