Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
549 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | 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).
|
---|
| 3 |
|
---|
| 4 | @param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
|
---|
| 5 |
|
---|
| 6 | @example
|
---|
| 7 | ```
|
---|
| 8 | import isFullwidthCodePoint from 'is-fullwidth-code-point';
|
---|
| 9 |
|
---|
| 10 | isFullwidthCodePoint('谢'.codePointAt(0));
|
---|
| 11 | //=> true
|
---|
| 12 |
|
---|
| 13 | isFullwidthCodePoint('a'.codePointAt(0));
|
---|
| 14 | //=> false
|
---|
| 15 | ```
|
---|
| 16 | */
|
---|
| 17 | export default function isFullwidthCodePoint(codePoint: number): boolean;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.