IsUnicodeIdentifierPart reports whether ch may appear after the first character of an ECMAScript identifier, i.e. whether it has the Unicode ID_Continue (or Other_ID_Continue) property, which also includes ID_Start.
(ch rune)
| 13 | // character of an ECMAScript identifier, i.e. whether it has the Unicode |
| 14 | // ID_Continue (or Other_ID_Continue) property, which also includes ID_Start. |
| 15 | func IsUnicodeIdentifierPart(ch rune) bool { |
| 16 | return unicode.Is(unicodeESNextIdentifierPart, ch) |
| 17 | } |
no outgoing calls
no test coverage detected