MCPcopy 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

1const urlRegexp = /^https?:\/\//i
2
3export default (url: string): boolean => urlRegexp.test(url)

Callers

nothing calls this directly

Calls 1

testMethod · 0.80

Tested by

no test coverage detected