thanh
02/14/2023, 12:47 PMfun Set<A>nonEmptyIntersection(other: Set<A>) = this.intersect(other).nonEmty()
?Leon Linhart
02/14/2023, 12:50 PMintersects
?thanh
02/14/2023, 12:52 PMintersect
, but maybe isIntersected
?ephemient
02/14/2023, 1:34 PMcontainsAny
?thanh
02/14/2023, 1:51 PMcontainsAny
looks nice, but make me wonder is hasAny
better?sharedAny
should be use. with sharedAny I can do overload like: set1.sharedAny(set2, set3, set4)
Ruckus
02/14/2023, 3:37 PMoverlaps
for similar things in the past