Skip to content

Type Editor


Type Editor / @type-editor/tables / commands/row-is-header / rowIsHeader

Function: rowIsHeader()

ts
function rowIsHeader(map, table, row): boolean;

Defined in: tables/src/commands/row-is-header.ts:15

Checks if all cells in a given row are header cells.

Parameters

ParameterTypeDescription
mapTableMapThe table map to check
tableNode_2The table node
rownumberThe row index to check

Returns

boolean

True if all cells in the row are header cells