PMA\libraries\plugins\export\TableProperty::isUnique PHP Method

isUnique() public method

Tells whether the key is unique or not
public isUnique ( ) : boolean
return boolean true if the key is unique, false otherwise
    public function isUnique()
    {
        return $this->key == "PRI" || $this->key == "UNI" ? "true" : "false";
    }