effect-io-ai

Package: effect
Module: TSet

TSet.intersection

Atomically transforms the set into the intersection of itself and the provided set.

Signature

declare const intersection: { <A>(other: TSet<A>): (self: TSet<A>) => STM.STM<void>; <A>(self: TSet<A>, other: TSet<A>): STM.STM<void>; }

Source

Since v2.0.0