Muqriz 48f16bfc3e initail first | пре 4 месеци | |
---|---|---|
.. | ||
index.d.ts | пре 4 месеци | |
index.js | пре 4 месеци | |
license | пре 4 месеци | |
package.json | пре 4 месеци | |
readme.md | пре 4 месеци |
Check if the character represented by a given Unicode code point is fullwidth
$ npm install is-fullwidth-code-point
import isFullwidthCodePoint from 'is-fullwidth-code-point';
isFullwidthCodePoint('谢'.codePointAt(0));
//=> true
isFullwidthCodePoint('a'.codePointAt(0));
//=> false
Type: number
The code point of a character.