isCompositeType function

bool isCompositeType(
  1. GraphQLType? type
)

Implementation

bool isCompositeType(GraphQLType? type) =>
    type is GraphQLObjectType || type is GraphQLUnionType;