Urara-Blog/node_modules/.pnpm-store/v3/files/7c/7c0461651c4c0c2d5b4809def4b3079d2ea87fedfca75c4f9b4a6bb6a6dcc660740a14c2228a4225c974c9cdc33d5893c9ce162151c47ebfabc21b5977c1b8
2022-08-14 01:14:53 +08:00

17 lines
549 B
Text

/**
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).
@param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
@example
```
import isFullwidthCodePoint from 'is-fullwidth-code-point';
isFullwidthCodePoint('谢'.codePointAt(0));
//=> true
isFullwidthCodePoint('a'.codePointAt(0));
//=> false
```
*/
export default function isFullwidthCodePoint(codePoint: number): boolean;