Latest
function isTypeSubTypeOf
import { isTypeSubTypeOf } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/utilities/index.d.ts";

Provided a type and a super type, return true if the first type is either equal or a subset of the second super type (covariant).

Parameters

schema: GraphQLSchema
maybeSubType: GraphQLType
superType: GraphQLType

Returns

boolean