server/models/player.js
// 2. Each card is given once
2. Each card is given once
2 . Each card is given once
hasCardsInHand(cards) {
    if (!Array.isArray(cards)) {
      return false;
    }
    if (_.intersectionWith(this._hand, cards, Card.isEqual).length !== cards.length) {
      return false;
    }
    return true;
  }
hasCardsInHand ( cards ) { if ( ! Array . isArray ( cards ) ) { return false ; } if ( _ . intersectionWith ( this . _hand , cards , Card . isEqual ) . length !== cards . length ) { return false ; } return true ; }
2.
2 .