Predis\Cluster\SlotMap::offsetExists PHP Method

offsetExists() public method

Checks if the specified slot is assigned.
public offsetExists ( integer $slot ) : boolean
$slot integer Slot index.
return boolean
    public function offsetExists($slot)
    {
        return isset($this->slots[$slot]);
    }