src/aria/widgets/controllers/MultiAutoCompleteController.js
function (arrayOfSuggestions, beanName) {
                for (var k = 0, l = arrayOfSuggestions.length; k < l; k++) {
                    var currentSuggestion = arrayOfSuggestions[k];
                    if (!typeUtil.isString(currentSuggestion)
                            && !ariaCoreJsonValidator.check(currentSuggestion, beanName)) {
                        return false;
                    }
                }
                return true;
            }
function (arrayOfSuggestions, beanName) {
                for (var k = 0, l = arrayOfSuggestions.length; k < l; k++) {
                    var currentSuggestion = arrayOfSuggestions[k];
                    if (!typeUtil.isString(currentSuggestion)
                            && !ariaCoreJsonValidator.check(currentSuggestion, beanName)) {
                        return false;
                    }
                }
                return true;
            }
function ( arrayOfSuggestions , beanName ) { for ( var k = 0 , l = arrayOfSuggestions . length ; k < l ; k ++ ) { var currentSuggestion = arrayOfSuggestions [ k ] ; if ( ! typeUtil . isString ( currentSuggestion ) && ! ariaCoreJsonValidator . check ( currentSuggestion , beanName ) ) { return false ; } } return true ; }
Internal method to validate the value with suggestion bean.
@param {Array} value
@param {String} bean to validate each item of the array with
@return {Boolean}
Internal method to validate the value with suggestion bean .