mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-29 05:34:21 +08:00
Updates Karma, Mocha and Sinon. R=jacktfranklin@chromium.org Bug: none Change-Id: Ia93cdafc646e4d3277e7ce869a7a8b5e66a13f0d Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3372928 Auto-Submit: Tim Van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org>
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
const isFullwidthCodePoint = require('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.
License
MIT © Sindre Sorhus