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