(s: string)
| 1059 | |
| 1060 | // Name characters exclude every invalid character but unpaired surrogates |
| 1061 | const isName = (s: string): boolean => s.length > 0 && scanName(s, 0, s.length) === s.length && isWellFormed(s) |
| 1062 | |
| 1063 | // Returns the index of the colon in a name, -1 when it has none, or -2 when it |
| 1064 | // is not a qualified name |
no test coverage detected