function getOperationRootType
import { getOperationRootType } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/utilities/getOperationRootType.js";

Extracts the root type of the operation from the schema.

Parameters

schema
operation