# distinctUntilChanged

Returns flow where all subsequent repetitions of the same value are filtered out.

Note that any instance of StateFlow already behaves as if `distinctUtilChanged`

operator is applied to it, so applying `distinctUntilChanged`

to a `StateFlow`

has no effect. See StateFlow documentation on Operator Fusion. Also, repeated application of `distinctUntilChanged`

operator on any flow has no effect.

Returns flow where all subsequent repetitions of the same value are filtered out, when compared with each other via the provided areEquivalent function.

Note that repeated application of `distinctUntilChanged`

operator with the same parameter has no effect.

Applying distinctUntilChanged to StateFlow has no effect. See the StateFlow documentation on Operator Fusion.