---
title: "neverEqualPolicy"
description: "A policy never treat values of a [MutableState] as equivalent.

Setting [MutableState.value] will always be considered a change. When applying a
[MutableSnapshot] that changes the state will always conflict with other snapshots that change
the same state."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
public fun <T> neverEqualPolicy(): SnapshotMutationPolicy<T>
```


A policy never treat values of a `MutableState` as equivalent.

Setting `MutableState.value` will always be considered a change. When applying a
`MutableSnapshot` that changes the state will always conflict with other snapshots that change
the same state.



