@univerjscorefunctionsDedupe

@univerjs/core v0.5.4


Function: dedupe()

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

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

Deduplicate an array.

Type Parameters

Type Parameter
T

Parameters

ParameterTypeDescription
arrT[]The array to be dedupe.

Returns

T[]

Return the deduplicated array.