(text: string)
| 118 | * ] |
| 119 | */ |
| 120 | export function splitByURL(text: string): {isURL: boolean; text: string}[] { |
| 121 | return splitByRegex(text, LINKIFY_URL_REGEX).map(({matchesRegex, text}) => { |
| 122 | return {isURL: matchesRegex, text}; |
| 123 | }); |
| 124 | } |
no test coverage detected
searching dependent graphs…