DdsPlay.Model.Deck.Has C# (CSharp) Method

Has() public method

Determines whether [has] [the specified rank].
public Has ( CardRank rank, CardSuit suit ) : bool
rank CardRank The rank.
suit CardSuit The suit.
return bool
        public bool Has(CardRank rank, CardSuit suit)
        {
            if (GetCard(rank, suit) != null)
                return true;
            else
                return false;
        }

Same methods

Deck::Has ( int number, CardSuit suit ) : bool