Module

x/graphql_deno/mod.ts>isTypeSubTypeOf

GraphQL-JS ported to Deno
Latest
function isTypeSubTypeOf
import { isTypeSubTypeOf } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/mod.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

maybeSubType: GraphQLType
superType: GraphQLType

Returns

boolean