@univerjs/engine-render v0.4.2 • Docs
Function: expandRangeIfIntersects()
function expandRangeIfIntersects(mainRanges, ranges): IRange[]
If there is an intersection in ranges to the mainRanges, extend it to the first set of ranges.
Parameters
Parameter | Type | Description |
---|---|---|
mainRanges | IRange [] | target ranges |
ranges | IRange [] | - |
Returns
IRange
[]
Defined in
submodules/univer/packages/engine-render/src/basics/tools.ts:836 (opens in a new tab)