[android-components](../../index.md) / [mozilla.components.support.ktx.kotlinx.coroutines.flow](../index.md) / [kotlinx.coroutines.flow.Flow](./index.md)

### Extensions for kotlinx.coroutines.flow.Flow

| Name | Summary |
|---|---|
| [filterChanged](filter-changed.md) | `fun <T, R> Flow<`[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`T`](filter-changed.md#T)`>>.filterChanged(transform: (`[`T`](filter-changed.md#T)`) -> `[`R`](filter-changed.md#R)`): Flow<`[`T`](filter-changed.md#T)`>`<br>Returns a [Flow](#) containing only changed elements of the lists of the original [Flow](#). |
| [ifAnyChanged](if-any-changed.md) | `fun <T, R> Flow<`[`T`](if-any-changed.md#T)`>.ifAnyChanged(transform: (`[`T`](if-any-changed.md#T)`) -> `[`Array`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`<`[`R`](if-any-changed.md#R)`>): Flow<`[`T`](if-any-changed.md#T)`>`<br>Returns a [Flow](#) containing only values of the original [Flow](#) where the result array of calling [transform](if-any-changed.md#mozilla.components.support.ktx.kotlinx.coroutines.flow$ifAnyChanged(kotlinx.coroutines.flow.Flow((mozilla.components.support.ktx.kotlinx.coroutines.flow.ifAnyChanged.T)), kotlin.Function1((mozilla.components.support.ktx.kotlinx.coroutines.flow.ifAnyChanged.T, kotlin.Array((mozilla.components.support.ktx.kotlinx.coroutines.flow.ifAnyChanged.R)))))/transform) contains at least one different value. |
| [ifChanged](if-changed.md) | `fun <T> Flow<`[`T`](if-changed.md#T)`>.ifChanged(): Flow<`[`T`](if-changed.md#T)`>`<br>Returns a [Flow](#) containing only values of the original [Flow](#) that have changed compared to the value emitted before them.`fun <T, R> Flow<`[`T`](if-changed.md#T)`>.ifChanged(transform: (`[`T`](if-changed.md#T)`) -> `[`R`](if-changed.md#R)`): Flow<`[`T`](if-changed.md#T)`>`<br>Returns a [Flow](#) containing only values of the original [Flow](#) where the result of calling [transform](if-changed.md#mozilla.components.support.ktx.kotlinx.coroutines.flow$ifChanged(kotlinx.coroutines.flow.Flow((mozilla.components.support.ktx.kotlinx.coroutines.flow.ifChanged.T)), kotlin.Function1((mozilla.components.support.ktx.kotlinx.coroutines.flow.ifChanged.T, mozilla.components.support.ktx.kotlinx.coroutines.flow.ifChanged.R)))/transform) has changed from the result of the previous value. |
