githubEdit

is-fullwidth-code-point

Check if the character represented by a given Unicode code pointarrow-up-right is fullwidtharrow-up-right

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 pointarrow-up-right of a character.

License

MIT © Sindre Sorhusarrow-up-right

Last updated