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

doTypesOverlap

Provided two composite types, determine if they "overlap". Two composite types overlap when the Sets of possible concrete types for each intersect.

This is often used to determine if a fragment of a given type could possibly be visited in a context of another type.

This function is commutative.

function doTypesOverlap(
schema: GraphQLSchema,
): boolean;
§
doTypesOverlap(schema: GraphQLSchema, typeA: GraphQLCompositeType, typeB: GraphQLCompositeType): boolean
[src]

§Return Type

§
boolean
[src]