system-prompts-and-models-o.../unified-ai-platform/node_modules/is-fullwidth-code-point
dopeuni444 b5a22951ae nhj
more
2025-07-31 12:23:33 +04:00
..
index.js nhj 2025-07-31 12:23:33 +04:00
license nhj 2025-07-31 12:23:33 +04:00
package.json nhj 2025-07-31 12:23:33 +04:00
readme.md nhj 2025-07-31 12:23:33 +04:00

is-fullwidth-code-point

Check if the character represented by a given Unicode code point is fullwidth

Install

$ npm install is-fullwidth-code-point

Usage

import isFullwidthCodePoint from 'is-fullwidth-code-point';

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

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

API

isFullwidthCodePoint(codePoint)

codePoint

Type: number

The code point of a character.


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.