src/Evaluators/HighHandEvaluator.php
/**
    * Returns if the hand ranking is one pairs
    * Determined by if the count of the first element is exactly two
    * and second, third and fourth element is exactly one
    * 
    * @return bool
    */
Returns if the hand ranking is one pairs
Determined by if the count of the first element is exactly two
and second, third and fourth element is exactly one

@return bool
Returns if the hand ranking is one pairs Determined by if the count of the first element is exactly two and second third and fourth element is exactly one @return bool
public function isOnePair(): Bool
    {
        return (count(reset($this->valueHistogram)) === 2
                && count(next($this->valueHistogram)) === 1
                && count(next($this->valueHistogram)) === 1
                && count(next($this->valueHistogram)) === 1);
    }
public function isOnePair ( ) : Bool { return ( count ( reset ( $ this -> valueHistogram ) ) === 2 && count ( next ( $ this -> valueHistogram ) ) === 1 && count ( next ( $ this -> valueHistogram ) ) === 1 && count ( next ( $ this -> valueHistogram ) ) === 1 ) ; }
Returns if the hand ranking is one pairs
 Determined by if the count of the first element is exactly two
 and second, third and fourth element is exactly one
Returns if the hand ranking is one pairs Determined by if the count of the first element is exactly two and second third and fourth element is exactly one