mirror of
https://github.com/tvytlx/ai-agent-deep-dive.git
synced 2026-04-04 08:04:48 +08:00
Add extracted source directory and README navigation
This commit is contained in:
12
extracted-source/node_modules/is-fullwidth-code-point/index.js
generated
vendored
Normal file
12
extracted-source/node_modules/is-fullwidth-code-point/index.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import {
|
||||
_isFullWidth as isFullWidth,
|
||||
_isWide as isWide,
|
||||
} from 'get-east-asian-width';
|
||||
|
||||
export default function isFullwidthCodePoint(codePoint) {
|
||||
if (!Number.isInteger(codePoint)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return isFullWidth(codePoint) || isWide(codePoint);
|
||||
}
|
||||
Reference in New Issue
Block a user