MCPcopy
hub / github.com/loggerhead/json4u / isURI

Function isURI

src/lib/worker/command/urlToJSON.ts:71–73  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

69}
70
71function isURI(s: string) {
72 return typeof s === "string" && /^\w+:\/\/.*/g.test(s);
73}
74
75function mapStringify(m: Map<string, any>) {
76 const doStringify = (m: Map<string, any>): string => {

Callers 1

urlToMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected