1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var graphql_1 = require("graphql");
|
4 | function resolveTypeIndicators(namedType) {
|
5 | return {
|
6 | isType: namedType instanceof graphql_1.GraphQLObjectType,
|
7 | isScalar: namedType instanceof graphql_1.GraphQLScalarType,
|
8 | isInterface: namedType instanceof graphql_1.GraphQLInterfaceType,
|
9 | isUnion: namedType instanceof graphql_1.GraphQLUnionType,
|
10 | isInputType: namedType instanceof graphql_1.GraphQLInputObjectType,
|
11 | isEnum: namedType instanceof graphql_1.GraphQLEnumType
|
12 | };
|
13 | }
|
14 | exports.resolveTypeIndicators = resolveTypeIndicators;
|
15 |
|
\ | No newline at end of file |