code: func GetNamed(ttype Type) Named {
  	unmodifiedType := ttype
  	for {
  		switch typ := unmodifiedType.(type) {
  		case *List:
  			unmodifiedType = typ.OfType
  		case *NonNull:
  			unmodifiedType = typ.OfType
  		default:
  			return unmodifiedType
  		}
  	}
  }
docs: // GetNamed returns the Named type of the given GraphQL type