google_forms/node_modules/is-fullwidth-code-point
RameshT 4cdf3fdf5d initial 2024-07-29 14:47:16 +05:30
..
index.d.ts initial 2024-07-29 14:47:16 +05:30
index.js initial 2024-07-29 14:47:16 +05:30
license initial 2024-07-29 14:47:16 +05:30
package.json initial 2024-07-29 14:47:16 +05:30
readme.md initial 2024-07-29 14:47:16 +05:30

readme.md

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.