Repository URL to install this package:
Version:
2.1.0-1 ▾
|
vending-mp-tcn-dep
/
usr
/
local
/
lib
/
vending
/
mp
/
tcn
/
node_modules
/
is-fullwidth-code-point
|
---|
.. |
index.js |
package.json |
readme.md |
index.d.ts |
license |
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