Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is there a faster way to test for membership in an Internal`Bag other than unpacking the whole thing like this?
MemberQ[Internal`BagPart[b, All], elem]
Required, but never shown
1 year, 1 month ago