src/JSUtils/node/TernNodeDomain.js
function inferArrTypeToString(inferArrType) {
        var result = "Array.<";

        result += inferArrType.props["<i>"].types.map(inferTypeToString).join(", ");

        // workaround case where types is zero length
        if (inferArrType.props["<i>"].types.length === 0) {
            result += "Object";
        }
        result += ">";

        return result;
    }
function inferArrTypeToString(inferArrType) {
        var result = "Array.<";

        result += inferArrType.props["<i>"].types.map(inferTypeToString).join(", ");

        // workaround case where types is zero length
        if (inferArrType.props["<i>"].types.length === 0) {
            result += "Object";
        }
        result += ">";

        return result;
    }
function inferArrTypeToString ( inferArrType ) { var result = "Array.<" ; result += inferArrType . props [ "<i>" ] . types . map ( inferTypeToString ) . join ( ", " ) ; // workaround case where types is zero length if ( inferArrType . props [ "<i>" ] . types . length === 0 ) { result += "Object" ; } result += ">" ; return result ; }
Convert an infer array type to a string.

Formatted using google closure style. For example:

"Array.<string, number>"

@param {Infer.Arr} inferArrType

@return {string} - array formatted in google closure style.
Convert an infer array type to a string .