(E: Equivalence.Equivalence<A>)
| 487 | * If element is present remove it, if not add it |
| 488 | */ |
| 489 | export function toggle<A>(E: Equivalence.Equivalence<A>): (a: A) => (set: Set<A>) => Set<A> { |
| 490 | const t = toggle_(E) |
| 491 | return (a) => (set) => t(set, a) |
| 492 | } |
| 493 | |
| 494 | /** |
| 495 | * If element is present remove it, if not add it |
nothing calls this directly
no test coverage detected
searching dependent graphs…