MCPcopy
hub / github.com/formatjs/formatjs / _isAlphaOrSlash

Function _isAlphaOrSlash

packages/icu-messageformat-parser/parser.ts:1277–1279  ·  view source on GitHub ↗
(codepoint: number)

Source from the content-addressed store, hash-verified

1275}
1276
1277function _isAlphaOrSlash(codepoint: number): boolean {
1278 return _isAlpha(codepoint) || codepoint === 47 /* '/' */
1279}
1280
1281/** See `parseTag` function docs. */
1282function _isPotentialElementNameChar(c: number): boolean {

Callers 1

Calls 1

_isAlphaFunction · 0.85

Tested by

no test coverage detected