MCPcopy Index your code
hub / github.com/dataease/SQLBot / isSpecial

Function isSpecial

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

Source from the content-addressed store, hash-verified

23829 return u
23830 }
23831 function isSpecial(s) {
23832 return (
23833 'file:' === s ||
23834 'ftp:' === s ||
23835 'http:' === s ||
23836 'https:' === s ||
23837 'ws:' === s ||
23838 'wss:' === s
23839 )
23840 }
23841 function extractProtocol(s, o) {
23842 ;((s = (s = trimLeft(s)).replace(w, '')), (o = o || {}))
23843 var i,

Callers 3

extractProtocolFunction · 0.85
UrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected