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


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


```kotlin
@StateFactoryMarker public fun <T> mutableStateSetOf(): SnapshotStateSet<T>
```


Create a instance of `MutableSet`<T> that is observable and can be snapshot.

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





<h2 id="mutablestatesetof-elements">mutableStateSetOf</h2>

<div class='sourceset sourceset-common'>Common</div>


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


Create an instance of `MutableSet`<T> that is observable and can be snapshot.

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