(arg = EMPTY)
| 8 | * @returns {boolean} True if the string matches ID patterns, false otherwise |
| 9 | */ |
| 10 | export function id (arg = EMPTY) { |
| 11 | // Only match strings that don't contain whitespace or special characters before the id suffix |
| 12 | return pattern.test(arg) && !(/[\s\-.@]/).test(arg); |
| 13 | } |
no outgoing calls
no test coverage detected