1
0
Fork 0
arangodb/js/node/node_modules/eslint/node_modules/is-fullwidth-code-point
Alan Plum cf302adf26
Always use --global-style when installing npm deps
This partially reverts commit 8a286a30d9.
2016-07-14 16:29:20 +02:00
..
index.js Always use --global-style when installing npm deps 2016-07-14 16:29:20 +02:00
license Always use --global-style when installing npm deps 2016-07-14 16:29:20 +02:00
package.json Always use --global-style when installing npm deps 2016-07-14 16:29:20 +02:00
readme.md Always use --global-style when installing npm deps 2016-07-14 16:29:20 +02:00

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

var 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