@univerjscorefunctionsDedupe

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


Function: dedupe()

function dedupe<T>(arr): T[]

Deduplicate an array.

Type Parameters

Type Parameter
T

Parameters

ParameterTypeDescription
arrT[]The array to be dedupe.

Returns

T[]

Return the deduplicated array.

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/array.ts:31