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

Function isIterableType

src/lib/parser/node.ts:42–44  ·  view source on GitHub ↗
(t: NodeType)

Source from the content-addressed store, hash-verified

40}
41
42export function isIterableType(t: NodeType) {
43 return t === "array" || t === "object";
44}
45
46export function hasChildren(node: Node | undefined) {
47 return !!getChildCount(node);

Callers 1

isIterableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected