API Reference
@univerjs
@univerjs/sheets
classes
Rangemergeutil

@univerjs/sheets v0.4.2Docs


Class: RangeMergeUtil

Constructors

new RangeMergeUtil()

new RangeMergeUtil(): RangeMergeUtil

Returns

RangeMergeUtil

Methods

add()

add(...ranges): RangeMergeUtil

Parameters

ParameterType
...rangesIRange[]

Returns

RangeMergeUtil

Defined in

packages/sheets/src/basics/rangeMerge.ts:139 (opens in a new tab)


merge()

merge(): IRange[]

Returns

IRange[]

Defined in

packages/sheets/src/basics/rangeMerge.ts:157 (opens in a new tab)


subtract()

subtract(...ranges): RangeMergeUtil

Parameters

ParameterType
...rangesIRange[]

Returns

RangeMergeUtil

Defined in

packages/sheets/src/basics/rangeMerge.ts:148 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.