@univerjscorefunctionsMergesets

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


Function: mergeSets()

function mergeSets<T>(s1, s2): Set<T>

Merge the second set to the first set.

Type Parameters

Type Parameter
T

Parameters

ParameterTypeDescription
s1Set<T>the first set
s2Set<T>the second set

Returns

Set<T>

the merged set

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/set.ts:23