MCPcopy Create free account
hub / github.com/ardatan/graphql-tools / assertListValueNode

Function assertListValueNode

packages/testing/assertion.ts:112–117  ·  view source on GitHub ↗
(input: ASTNode)

Source from the content-addressed store, hash-verified

110 throw new Error(`Expected InputObjectTypeDefinitionNode. Got ${input.kind}`);
111}
112export function assertListValueNode(input: ASTNode): asserts input is ListValueNode {
113 if (input.kind === 'ListValue') {
114 return;
115 }
116 throw new Error(`Expected ListValueNode. Got ${input.kind}`);
117}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected