Illia Kozyr c722a49f64 React Project DONE | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
index.js | %!s(int64=2) %!d(string=hai) anos | |
license | %!s(int64=2) %!d(string=hai) anos | |
package.json | %!s(int64=2) %!d(string=hai) anos | |
readme.md | %!s(int64=2) %!d(string=hai) anos |
Check if the character represented by a given Unicode code point is fullwidth
$ npm install --save is-fullwidth-code-point
var isFullwidthCodePoint = require('is-fullwidth-code-point');
isFullwidthCodePoint('谢'.codePointAt());
//=> true
isFullwidthCodePoint('a'.codePointAt());
//=> false
Type: number
Code point of a character.
MIT © Sindre Sorhus