MCPcopy Create free account
hub / github.com/dataease/SQLBot / isAbsoluteUrl

Function isAbsoluteUrl

frontend/public/swagger-ui-bundle.js:36116–36118  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

36114 Re.createElement(i, { collapsedContent: a }, '[ ', s.map(String).join(', '), ' ]')
36115 )
36116 }
36117 function isAbsoluteUrl(s) {
36118 return s.match(/^(?:[a-z]+:)?\/\//i)
36119 }
36120 function buildBaseUrl(s, o) {
36121 return s

Callers 2

buildBaseUrlFunction · 0.85
safeBuildUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected