Sha256: 5efad668d474c385309e650d1a7ec611584ee0a23aba9f452a374073e07ec9f2

Contents?: true

Size: 836 Bytes

Versions: 164

Compression:

Stored size: 836 Bytes

Contents

# is-fullwidth-code-point [![Build Status](https://travis-ci.org/sindresorhus/is-fullwidth-code-point.svg?branch=master)](https://travis-ci.org/sindresorhus/is-fullwidth-code-point)

> Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)


## Install

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


## Usage

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

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

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


## API

### isFullwidthCodePoint(input)

#### input

Type: `number`

[Code point](https://en.wikipedia.org/wiki/Code_point) of a character.


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)

Version data entries

164 entries across 110 versions & 19 rubygems

Version Path
trusty-cms-4.3.3 node_modules/is-fullwidth-code-point/readme.md
trusty-cms-4.3.2 node_modules/is-fullwidth-code-point/readme.md
trusty-cms-4.3.1 node_modules/is-fullwidth-code-point/readme.md
trusty-cms-4.3 node_modules/is-fullwidth-code-point/readme.md
trusty-cms-4.2.3 node_modules/is-fullwidth-code-point/readme.md
epuber-stylus-source-0.54.8 vendor/node_modules/is-fullwidth-code-point/readme.md
tang-0.2.1 spec/tang_app/node_modules/is-fullwidth-code-point/readme.md
trusty-cms-4.2.2 node_modules/is-fullwidth-code-point/readme.md
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/is-fullwidth-code-point/readme.md
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/is-fullwidth-code-point/readme.md
ruby2js-4.0.4 lib/tasks/testrails/node_modules/is-fullwidth-code-point/readme.md
ruby2js-4.0.3 lib/tasks/testrails/node_modules/is-fullwidth-code-point/readme.md
trusty-cms-4.2.1 node_modules/is-fullwidth-code-point/readme.md
trusty-cms-4.2 node_modules/is-fullwidth-code-point/readme.md
trusty-cms-4.1.9 node_modules/is-fullwidth-code-point/readme.md
trusty-cms-4.1.8 node_modules/is-fullwidth-code-point/readme.md
tang-0.2.0 spec/tang_app/node_modules/is-fullwidth-code-point/readme.md
trusty-cms-4.1.7 node_modules/is-fullwidth-code-point/readme.md
tang-0.1.0 spec/tang_app/node_modules/is-fullwidth-code-point/readme.md
tang-0.0.9 spec/tang_app/node_modules/is-fullwidth-code-point/readme.md