1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | function isFieldNode(node) {
|
4 | return node['name'] !== undefined && node['selectionSet'] !== undefined && node['type'] !== undefined;
|
5 | }
|
6 | exports.isFieldNode = isFieldNode;
|
7 | function isFragmentSpreadNode(node) {
|
8 | return node['fragmentName'] !== undefined;
|
9 | }
|
10 | exports.isFragmentSpreadNode = isFragmentSpreadNode;
|
11 | function isInlineFragmentNode(node) {
|
12 | return node['selectionSet'] !== undefined && node['onType'] !== undefined;
|
13 | }
|
14 | exports.isInlineFragmentNode = isInlineFragmentNode;
|
15 |
|
\ | No newline at end of file |