prc b6c02717e6 Upload complete no-internet building environment. | преди 1 година | |
---|---|---|
.. | ||
index.d.ts | преди 1 година | |
index.js | преди 1 година | |
license | преди 1 година | |
package.json | преди 1 година | |
readme.md | преди 1 година |
Check if the character represented by a given Unicode code point is fullwidth
$ npm install is-fullwidth-code-point
const isFullwidthCodePoint = require('is-fullwidth-code-point');
isFullwidthCodePoint('谢'.codePointAt(0));
//=> true
isFullwidthCodePoint('a'.codePointAt(0));
//=> false
Type: number
The code point of a character.
MIT © Sindre Sorhus