@univerjscorefunctionsSelectiontoarray

@univerjs/core v0.5.4


Function: selectionToArray()

function selectionToArray(range): [number, number, number, number]

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:481

Transform an IRange object to an array.

Parameters

ParameterType
rangeIRange

Returns

[number, number, number, number]

[rowStart, colStart, rowEnd, colEnd]