@univerjscorefunctionsSplitintogrid

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


Function: splitIntoGrid()

function splitIntoGrid(ranges): IRange[]

Split ranges into aligned smaller ranges

Parameters

ParameterTypeDescription
rangesIRange[]no overlap ranges

Returns

IRange[]

aligned smaller ranges

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/range.ts:87