MCPcopy Create free account
hub / github.com/003random/getJS / isURL

Function isURL

main.go:96–98  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

94}
95
96func isURL(str string) bool {
97 return strings.HasPrefix(str, "http://") || strings.HasPrefix(str, "https://")
98}
99
100func outputs(names []string) []io.Writer {
101 outputs := append([]io.Writer{}, os.Stdout)

Callers 1

setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected