code: public static GraphQLUnmodifiedType unwrapAll(GraphQLType type) {
          while (true) {
              if (isNotWrapped(type)) {
                  return (GraphQLUnmodifiedType) type;
              }
              type = unwrapOne(type);
          }
      }
docs: Unwraps all layers of the type or just returns the type again if its not a wrapped type
  
  @param type the type to unwrapOne
  
  @return the underlying type