Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Linen-dev/linen.dev
/ isMail
Function
isMail
apps/web/ui/Message/Link/utilities.ts:31–33 ·
view source on GitHub ↗
(href: string)
Source
from the content-addressed store, hash-verified
29
}
30
31
export
function
isMail(href: string): boolean {
32
return
href.startsWith(
'mailto:'
);
33
}
34
35
export
function
isUrlValid(url: string): boolean {
36
return
!url.startsWith(
'http://-'
) && !url.startsWith(
'https://-'
);
Callers
1
Link
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected