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

Function maybeIterable

src/lib/parser/parse.ts:318–320  ·  view source on GitHub ↗
(v: string)

Source from the content-addressed store, hash-verified

316}
317
318function maybeIterable(v: string) {
319 return typeof v === "string" && (/^\s*\{.*\}\s*$/.test(v) || /^\s*\[.*\]\s*$/.test(v));
320}

Callers 1

onLiteralValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected