Check if character is valid at the start of a key (lcalpha or "*")
(c: string)
| 465 | |
| 466 | /** Check if character is valid at the start of a key (lcalpha or "*") */ |
| 467 | function isKeyStart(c: string): boolean { |
| 468 | return isLcalpha(c) || c === "*"; |
| 469 | } |
| 470 | |
| 471 | /** Check if character is valid within a key (lcalpha / DIGIT / "_" / "-" / "." / "*") */ |
| 472 | function isKeyChar(c: string): boolean { |
no test coverage detected