function _evaluate( value ) {
    _resetFilter();

    if ( value.length >= MIN_CHARS && _optionsData.length > 0 ) {
      _index = -1;

      _filteredData = _optionsData.filter( function( item ) {
        return strings.stringMatch( item.text, value );
      } );

      _filterResults();
    }
  }
/**
   * Evaluates the list of options based on the user's query in the
   * search input.
   * @param  {string} value Text the user has entered in the search query.
   */
Evaluates the list of options based on the user's query in the
search input.
@param  {string} value Text the user has entered in the search query.
Evaluates the list of options based on the user ' s query in the search input . @param { string } value Text the user has entered in the search query .
function _evaluate( value ) {
    _resetFilter();
    if ( value.length >= MIN_CHARS && _optionsData.length > 0 ) {
      _index = -1;
      _filteredData = _optionsData.filter( function( item ) {
        return strings.stringMatch( item.text, value );
      } );
      _filterResults();
    }
  }
function _evaluate ( value ) { _resetFilter ( ) ; if ( value . length >= MIN_CHARS && _optionsData . length > 0 ) { _index = - 1 ; _filteredData = _optionsData . filter ( function ( item ) { return strings . stringMatch ( item . text , value ) ; } ) ; _filterResults ( ) ; } }
Evaluates the list of options based on the user's query in the
 search input.
Evaluates the list of options based on the user ' s query in the search input .