Function: getPrimaryForRange()
function getPrimaryForRange(range, worksheet): ISelectionCell
Defined in: submodules/univer/packages/sheets/src/commands/commands/utils/selection-utils.ts:129
Get the default primary cell (the most top-left cell) of a range.
Parameters
Parameter | Type |
---|---|
range | IRange |
worksheet | Worksheet |