(input: unknown)
| 23 | throw new Error('Expected GraphQLObjectType.'); |
| 24 | } |
| 25 | export function assertGraphQLEnumType(input: unknown): asserts input is GraphQLEnumType { |
| 26 | if (input instanceof GraphQLEnumType) { |
| 27 | return; |
| 28 | } |
| 29 | throw new Error('Expected GraphQLObjectType.'); |
| 30 | } |
| 31 | export function assertGraphQLScalerType(input: unknown): asserts input is GraphQLScalarType { |
| 32 | if (input instanceof GraphQLScalarType) { |
| 33 | return; |
no outgoing calls
no test coverage detected