function makeTypeString(aggr, componentTypeOnly) {
		let s = aggr.type;
		if ( aggr.altTypes ) {
			s = s + "|" + aggr.altTypes.join("|");
		}
		if ( !componentTypeOnly && aggr.cardinality === "0..n" ) {
			// if multiple types are allowed, use Array<...> for proper grouping
			if ( aggr.altTypes ) {
				s = "Array<" + s + ">";
			} else {
				s = s + "[]";
			}
		}
		return s;
	}
/*
	 * creates a JSDoc type string from the given metadata info object.
	 * It takes into account the type, the altTypes and the cardinality
	 * (the latter only if componentTypeOnly is not set).
	 */
creates a JSDoc type string from the given metadata info object.
It takes into account the type, the altTypes and the cardinality
(the latter only if componentTypeOnly is not set).
creates a JSDoc type string from the given metadata info object . It takes into account the type the altTypes and the cardinality ( the latter only if componentTypeOnly is not set ) .
function makeTypeString(aggr, componentTypeOnly) {
		let s = aggr.type;
		if ( aggr.altTypes ) {
			s = s + "|" + aggr.altTypes.join("|");
		}
		if ( !componentTypeOnly && aggr.cardinality === "0..n" ) {
			if ( aggr.altTypes ) {
				s = "Array<" + s + ">";
			} else {
				s = s + "[]";
			}
		}
		return s;
	}
function makeTypeString ( aggr , componentTypeOnly ) { let s = aggr . type ; if ( aggr . altTypes ) { s = s + "|" + aggr . altTypes . join ( "|" ) ; } if ( ! componentTypeOnly && aggr . cardinality === "0..n" ) { if ( aggr . altTypes ) { s = "Array<" + s + ">" ; } else { s = s + "[]" ; } } return s ; }
creates a JSDoc type string from the given metadata info object.
creates a JSDoc type string from the given metadata info object .
// if multiple types are allowed, use Array<...> for proper grouping