import { getOperationRootType } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/utilities/getOperationRootType.d.ts";
Extracts the root type of the operation from the schema.
Parameters
schema: GraphQLSchema
operation: OperationDefinitionNode | OperationTypeDefinitionNode