src/check-types.js
function includes (data, value) {
    var iterator, iteration, keys, length, i;

    if (! assigned(data)) {
      return false;
    }

    if (haveSymbols && data[Symbol.iterator] && isFunction(data.values)) {
      iterator = data.values();

      do {
        iteration = iterator.next();

        if (iteration.value === value) {
          return true;
        }
      } while (! iteration.done);

      return false;
    }

    keys = Object.keys(data);
    length = keys.length;
    for (i = 0; i < length; ++i) {
      if (data[keys[i]] === value) {
        return true;
      }
    }

    return false;
  }
function includes (data, value) {
    var iterator, iteration, keys, length, i;

    if (! assigned(data)) {
      return false;
    }

    if (haveSymbols && data[Symbol.iterator] && isFunction(data.values)) {
      iterator = data.values();

      do {
        iteration = iterator.next();

        if (iteration.value === value) {
          return true;
        }
      } while (! iteration.done);

      return false;
    }

    keys = Object.keys(data);
    length = keys.length;
    for (i = 0; i < length; ++i) {
      if (data[keys[i]] === value) {
        return true;
      }
    }

    return false;
  }
function includes ( data , value ) { var iterator , iteration , keys , length , i ; if ( ! assigned ( data ) ) { return false ; } if ( haveSymbols && data [ Symbol . iterator ] && isFunction ( data . values ) ) { iterator = data . values ( ) ; do { iteration = iterator . next ( ) ; if ( iteration . value === value ) { return true ; } } while ( ! iteration . done ) ; return false ; } keys = Object . keys ( data ) ; length = keys . length ; for ( i = 0 ; i < length ; ++ i ) { if ( data [ keys [ i ] ] === value ) { return true ; } } return false ; }
Public function `includes`.

Returns true if `data` contains `value`, false otherwise.
Public function includes .