function convertTypesToIris( elements, namespaces ){
	    elements.forEach(function ( element ){
	      if ( typeof element.iri() === "string" ) {
	        element.iri(replaceNamespace(element.iri(), namespaces));
	      }
	    });
	  }
/**
	   * Tries to convert the type to an iri and sets it.
	   * @param elements classes or properties
	   * @param namespaces an array of namespaces
	   */
Tries to convert the type to an iri and sets it.
@param elements classes or properties
@param namespaces an array of namespaces
Tries to convert the type to an iri and sets it . @param elements classes or properties @param namespaces an array of namespaces
function convertTypesToIris( elements, namespaces ){
	    elements.forEach(function ( element ){
	      if ( typeof element.iri() === "string" ) {
	        element.iri(replaceNamespace(element.iri(), namespaces));
	      }
	    });
	  }
function convertTypesToIris ( elements , namespaces ) { elements . forEach ( function ( element ) { if ( typeof element . iri ( ) === "string" ) { element . iri ( replaceNamespace ( element . iri ( ) , namespaces ) ) ; } } ) ; }
Tries to convert the type to an iri and sets it.
Tries to convert the type to an iri and sets it .