Skip to content
tRPC

Partners

Function: distinctUntilDeepChanged()

On this page

distinctUntilDeepChanged<TValue, TError>(): MonoTypeOperatorFunction<TValue, TError>

Defined in: packages/server/src/observable/operators.ts:209

Skips values equal to the one before, comparing objects and arrays by their own enumerable keys. Objects without such keys, like two Dates, always count as equal.

Type Parameters

Type Parameter
TValue
TError

Returns

MonoTypeOperatorFunction<TValue, TError>