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