src/Table/TableData.php
public function hasColumn($columnKey) : bool
    {
        $this->validateColumnKey(__METHOD__, $columnKey);
        $this->loadColumns();

        $columnHash = ValueHasher::hash($columnKey);

        return isset($this->columns[$columnHash]);
    }
public function hasColumn($columnKey) : bool
    {
        $this->validateColumnKey(__METHOD__, $columnKey);
        $this->loadColumns();

        $columnHash = ValueHasher::hash($columnKey);

        return isset($this->columns[$columnHash]);
    }
public function hasColumn ( $ columnKey ) : bool { $ this -> validateColumnKey ( __METHOD__ , $ columnKey ) ; $ this -> loadColumns ( ) ; $ columnHash = ValueHasher :: hash ( $ columnKey ) ; return isset ( $ this -> columns [ $ columnHash ] ) ; }
Returns whether the table data contains a column with the supplied key.

@param mixed $columnKey

@return bool
@throws TypeMismatchException
Returns whether the table data contains a column with the supplied key .