src/Schema.php
public function hasTable(string $table, bool $clear = false): bool
    {
        $list = $this->getTables($clear);
        return isset($list[strtolower($table)]);
    }
public function hasTable(string $table, bool $clear = false): bool
    {
        $list = $this->getTables($clear);
        return isset($list[strtolower($table)]);
    }
public function hasTable ( string $ table , bool $ clear = false ) : bool { $ list = $ this -> getTables ( $ clear ) ; return isset ( $ list [ strtolower ( $ table ) ] ) ; }
Check if the specified table exists

@param   string $table Table name
@param   boolean $clear (optional) Refresh table list

@return  boolean
@throws \Exception
Check if the specified table exists