isIntrospectionType function

bool isIntrospectionType(
  1. GraphQLType type
)

Returns true if the type is an introspection type

Implementation

bool isIntrospectionType(GraphQLType type) {
  return introspectionTypeNames.contains(type.name);
}