(character: string | undefined)
| 52 | } |
| 53 | |
| 54 | function isUndefined(character: string | undefined) { |
| 55 | return typeof character === 'undefined'; |
| 56 | } |
| 57 | |
| 58 | function isUsernameCharacter(character: string) { |
| 59 | return !!character && /[a-zA-Z0-9\.]/.test(character); |
no outgoing calls
no test coverage detected