Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/emwalker/digraph
/ isExternal.ts
File
isExternal.ts
client/src/utils/isExternal.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
urlRegexp = /^https?:\/\
//i
2
3
export
default (url: string): boolean => urlRegexp.test(url)
Callers
nothing calls this directly
Calls
1
test
Method · 0.80
Tested by
no test coverage detected