@univerjs/engine-render v0.5.0-beta.1 • 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
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:761