@univerjs/sheets-ui v0.5.0-beta.1Docs


Function: checkInHeaderRanges()

function checkInHeaderRanges(
   selections, 
   indexOfRowCol, 
rowOrCol): Nullable<ISelectionWithStyle>

Detect this row/col is in selections.

Parameters

ParameterType
selectionsreadonly ISelectionWithStyle[]
indexOfRowColnumber
rowOrColROW | COLUMN

Returns

Nullable<ISelectionWithStyle>

boolean

Defined in

submodules/univer/packages/sheets-ui/src/controllers/utils/selections-tools.ts:103