FunctionsisTypeSubTypeOfisTypeSubTypeOf CallableisTypeSubTypeOf(schema: GraphQLSchema, maybeSubType: GraphQLType, superType: GraphQLType): booleanProvided a type and a super type, return true if the first type is either equal or a subset of the second super type (covariant).Parametersschema: GraphQLSchemamaybeSubType: GraphQLTypesuperType: GraphQLTypeReturns boolean
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).