Returns a Set-like view of the given array.
For plain arrays, the set interface is backed by the array, ensuring values appear only once. For observable arrays, mutations are wrapped in actions using MobX.
The type of the values.
An array to be wrapped as a Set.
A Set-like view over the array.
When data is not an array.
Returns a Set-like view of the given array.
For plain arrays, the set interface is backed by the array, ensuring values appear only once. For observable arrays, mutations are wrapped in actions using MobX.