MCPcopy Index your code
hub / github.com/nodejs/node / isZeroWidthCodePoint

Function isZeroWidthCodePoint

lib/internal/util/inspect.js:2925–2935  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

2923}
2924
2925function isZeroWidthCodePoint(code) {
2926 return code <= 0x1F || // C0 control codes
2927 (code >= 0x7F && code <= 0x9F) || // C1 control codes
2928 (code >= 0x300 && code <= 0x36F) || // Combining Diacritical Marks
2929 (code >= 0x200B && code <= 0x200F) || // Modifying Invisible Characters
2930 // Combining Diacritical Marks for Symbols
2931 (code >= 0x20D0 && code <= 0x20FF) ||
2932 (code >= 0xFE00 && code <= 0xFE0F) || // Variation Selectors
2933 (code >= 0xFE20 && code <= 0xFE2F) || // Combining Half Marks
2934 (code >= 0xE0100 && code <= 0xE01EF); // Variation Selectors
2935}
2936
2937if (internalBinding('config').hasIntl) {
2938 const icu = internalBinding('icu');

Callers 1

inspect.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…