removeValuesFromKeyWhere method
Remove, from the given key
set, all values that satisfy the given test
.
If the set becomes empty, the key
will be removed entirely.
See also: removeValuesWhere that lets you remove values from many keys.
Implementation
IMapOfSets<K, V> removeValuesFromKeyWhere(
K key,
bool Function(V value) test,
) =>
update(key, (ISet<V> set) => set.removeWhere(test));