UNPKG

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