Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getOperationRootType

deprecated

Extracts the root type of the operation from the schema.

@deprecated

Please use GraphQLSchema.getRootType instead. Will be removed in v17

function getOperationRootType(schema: GraphQLSchema, operation: OperationDefinitionNode | OperationTypeDefinitionNode): GraphQLObjectType;