MCPcopy 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
35export function isUrlValid(url: string): boolean {
36 return !url.startsWith('http://-') && !url.startsWith('https://-');
37}

Callers 2

utilities.spec.tsFile · 0.90
LinkFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected