setup-go/node_modules/is-fullwidth-code-point
Stephen Franceschelli a966e84ff9 Fix.
2019-07-30 13:30:32 -04:00
..
index.js Fix. 2019-07-30 13:30:32 -04:00
license Fix. 2019-07-30 13:30:32 -04:00
package.json Fix. 2019-07-30 13:30:32 -04:00
readme.md Fix. 2019-07-30 13:30:32 -04:00

is-fullwidth-code-point Build Status

Check if the character represented by a given Unicode code point is fullwidth

Install

$ npm install --save is-fullwidth-code-point

Usage

const isFullwidthCodePoint = require('is-fullwidth-code-point');

isFullwidthCodePoint('谢'.codePointAt());
//=> true

isFullwidthCodePoint('a'.codePointAt());
//=> false

API

isFullwidthCodePoint(input)

input

Type: number

Code point of a character.

License

MIT © Sindre Sorhus