isDefinedType function
Returns true when type
is a defined type, not one of the
provided standard GraphQL types
Implementation
bool isDefinedType(GraphQLNamedType type) {
return !isSpecifiedScalarType(type) && !isIntrospectionType(type);
}
Returns true when type
is a defined type, not one of the
provided standard GraphQL types
bool isDefinedType(GraphQLNamedType type) {
return !isSpecifiedScalarType(type) && !isIntrospectionType(type);
}