src/sap.ui.core/src/sap/ui/model/analytics/odata4analytics.js
function(sPropertyName, aValues) {
			var oProperty = this._oEntityType.findPropertyByName(sPropertyName);
			if (oProperty == null) {
				throw "Cannot add filter condition for unknown property name " + sPropertyName; // TODO
			}
			var aFilterablePropertyNames = this._oEntityType.getFilterablePropertyNames();
			if (((aFilterablePropertyNames ? Array.prototype.indexOf.call(aFilterablePropertyNames, sPropertyName) : -1)) === -1) {
				throw "Cannot add filter condition for not filterable property name " + sPropertyName; // TODO
			}
			for ( var i = -1, oValue; (oValue = aValues[++i]) !== undefined;) {
				this._addCondition(sPropertyName, FilterOperator.EQ, oValue);
			}
			return this;
		}
function(sPropertyName, aValues) {
			var oProperty = this._oEntityType.findPropertyByName(sPropertyName);
			if (oProperty == null) {
				throw "Cannot add filter condition for unknown property name " + sPropertyName; // TODO
			}
			var aFilterablePropertyNames = this._oEntityType.getFilterablePropertyNames();
			if (((aFilterablePropertyNames ? Array.prototype.indexOf.call(aFilterablePropertyNames, sPropertyName) : -1)) === -1) {
				throw "Cannot add filter condition for not filterable property name " + sPropertyName; // TODO
			}
			for ( var i = -1, oValue; (oValue = aValues[++i]) !== undefined;) {
				this._addCondition(sPropertyName, FilterOperator.EQ, oValue);
			}
			return this;
		}
function ( sPropertyName , aValues ) { var oProperty = this . _oEntityType . findPropertyByName ( sPropertyName ) ; if ( oProperty == null ) { throw "Cannot add filter condition for unknown property name " + sPropertyName ; // TODO } var aFilterablePropertyNames = this . _oEntityType . getFilterablePropertyNames ( ) ; if ( ( ( aFilterablePropertyNames ? Array . prototype . indexOf . call ( aFilterablePropertyNames , sPropertyName ) : - 1 ) ) === - 1 ) { throw "Cannot add filter condition for not filterable property name " + sPropertyName ; // TODO } for ( var i = - 1 , oValue ; ( oValue = aValues [ ++ i ] ) !== undefined ; ) { this . _addCondition ( sPropertyName , FilterOperator . EQ , oValue ) ; } return this ; }
Add a set condition to the filter expression.

A set condition tests if the value of a property is included in a set of given values. It is a convenience method for
this particular use case eliminating the need for multiple API calls.

@param {string}
sPropertyName The name of the property bound in the condition
@param {array}
aValues values defining the set
@throws Exception
if the property is unknown or not filterable
@returns {sap.ui.model.analytics.odata4analytics.FilterExpression} This object for method chaining
@public
@function
@name sap.ui.model.analytics.odata4analytics.FilterExpression#addSetCondition
Add a set condition to the filter expression .