Buckets:
is-fullwidth-code-point
Check if the character represented by a given Unicode code point is fullwidth
Install
$ npm install is-fullwidth-code-point
Usage
const isFullwidthCodePoint = require('is-fullwidth-code-point');
isFullwidthCodePoint('谢'.codePointAt(0));
//=> true
isFullwidthCodePoint('a'.codePointAt(0));
//=> false
API
isFullwidthCodePoint(codePoint)
codePoint
Type: number
The code point of a character.
License
MIT © Sindre Sorhus
Xet Storage Details
- Size:
- 843 Bytes
- Xet hash:
- 0d6c04e9e7815b110fe2829f47988faa6544d0e0f393810dccb5008210c26a3a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.