tree: fc477d7d61173798a01248e168286abf617236ff [path history] [tgz]
  1. index.js
  2. LICENSE
  3. package.json
  4. readme.md
src/third_party/devtools/node_modules/is-fullwidth-code-point/readme.md

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