(input: ASTNode)
| 110 | throw new Error(`Expected InputObjectTypeDefinitionNode. Got ${input.kind}`); |
| 111 | } |
| 112 | export 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 | } |