@ckeditor/ckeditor5-table
Version:
Table feature for CKEditor 5.
19 lines (18 loc) • 658 B
TypeScript
/**
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/**
* @module table/tablecellproperties/tablecellpropertiesutils
*/
/**
* Type of the table cell.
*/
export type TableCellType = 'data' | 'header' | `header-${'row' | 'column'}`;
/**
* Checks if the given cell type represents a header cell.
*
* @param cellType The type of the table cell.
* @returns `true` if the cell type represents a header cell, `false` otherwise.
*/
export declare function isTableHeaderCellType(cellType: TableCellType | undefined): boolean;