MCPcopy Create free account
hub / github.com/breck7/scroll / isAbsoluteUrl

Method isAbsoluteUrl

external/.scrollLibs.js:14015–14017  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

14013 return str.replace(/\r/g, "")
14014 }
14015 static isAbsoluteUrl(url) {
14016 return url.startsWith("https://") || url.startsWith("http://")
14017 }
14018 static removeEmptyLines(str = "") {
14019 return str.replace(/\n\n+/g, "\n")
14020 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected