Optional
values: null | Iterable<TValue>Optional
config: ReactiveSetConfig<TValue>import { derive } from "value-enhancer";
import { reactiveSet } from "value-enhancer/collections"
const set = reactiveSet();
const item$ = derive(set.$, set => set.has("someValue")); // watch the existence of "someValue"
console.log(item$.value); // false
set.add("someValue");
console.log(item$.value); // true
Create a new ReactiveSet.