Function

mutableStateSetOf

Create a instance of MutableSet that is observable and can be snapshot.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
@StateFactoryMarker public fun <T> mutableStateSetOf(): SnapshotStateSet<T>

Create a instance of MutableSet that is observable and can be snapshot.

The returned set iteration order is in the order the items were inserted into the set.

mutableStateSetOf

Common
@StateFactoryMarker
public fun <T> mutableStateSetOf(vararg elements: T): SnapshotStateSet<T>

Create an instance of MutableSet that is observable and can be snapshot.

The returned set iteration order is in the order the items were inserted into the set.