(href: string)
| 25 | } |
| 26 | |
| 27 | export function isVideo(href: string): boolean { |
| 28 | return isYoutubeUrl(href) || href.endsWith('.mov'); |
| 29 | } |
| 30 | |
| 31 | export function isMail(href: string): boolean { |
| 32 | return href.startsWith('mailto:'); |
no test coverage detected