(input: unknown)
| 17 | } from 'graphql'; |
| 18 | |
| 19 | export function assertGraphQLObjectType(input: unknown): asserts input is GraphQLObjectType { |
| 20 | if (input instanceof GraphQLObjectType) { |
| 21 | return; |
| 22 | } |
| 23 | throw new Error('Expected GraphQLObjectType.'); |
| 24 | } |
| 25 | export function assertGraphQLEnumType(input: unknown): asserts input is GraphQLEnumType { |
| 26 | if (input instanceof GraphQLEnumType) { |
| 27 | return; |
no outgoing calls
no test coverage detected