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

Method hasError

src/lib/parser/tree.ts:136–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 }
135
136 hasError() {
137 return !isEmpty(this.errors);
138 }
139
140 isGraphNode(node: Node) {
141 return isRoot(node) || hasChildren(node);

Callers 7

validMethod · 0.95
ParseErrorMsgFunction · 0.80
doExpectFunction · 0.80
format.bench.tsFile · 0.80
expectEqFunction · 0.80
parse.test.tsFile · 0.80
expectIsEqualsFunction · 0.80

Calls

no outgoing calls

Tested by 3

doExpectFunction · 0.64
expectEqFunction · 0.64
expectIsEqualsFunction · 0.64