(character: string)
| 60 | } |
| 61 | |
| 62 | function isMentionCharacter(character: string) { |
| 63 | return character === '@' || character === '!'; |
| 64 | } |
| 65 | |
| 66 | function getMentionIndex(text: string) { |
| 67 | const index1 = text.lastIndexOf('!'); |
no outgoing calls
no test coverage detected