@univerjscorefunctionsSelectiontoarray

@univerjs/core v0.5.0-beta.1Docs


Function: selectionToArray()

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

Transform an IRange object to an array.

Parameters

ParameterType
rangeIRange

Returns

[number, number, number, number]

[rowStart, colStart, rowEnd, colEnd]

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:450