function (oResult, bWrapExpression) {
			if (oResult.result === "constant") {
				switch (oResult.category) {
					case "boolean":
					case "number":
						return String(oResult.value);
					// no default
				}
			}
			if (bWrapExpression) {
				Expression.wrapExpression(oResult);
			}
			return Basics.resultToString(oResult, true, false);
		}
function (oResult, bWrapExpression) {
			if (oResult.result === "constant") {
				switch (oResult.category) {
					case "boolean":
					case "number":
						return String(oResult.value);
					// no default
				}
			}
			if (bWrapExpression) {
				Expression.wrapExpression(oResult);
			}
			return Basics.resultToString(oResult, true, false);
		}
function ( oResult , bWrapExpression ) { if ( oResult . result === "constant" ) { switch ( oResult . category ) { case "boolean" : case "number" : return String ( oResult . value ) ; // no default } } if ( bWrapExpression ) { Expression . wrapExpression ( oResult ) ; } return Basics . resultToString ( oResult , true , false ) ; }
Formats the result to be an operand for a logical or comparison operator. Handles
constants accordingly.

@param {object} oResult
a result object with category
@param {boolean} bWrapExpression
if true, wrap an expression in <code>oResult</code> with "()"
@returns {string}
the formatted result
Formats the result to be an operand for a logical or comparison operator . Handles constants accordingly .
Converts the given result to a string