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