NonEmpty and remove()
functionality.
#60
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The NonEmpty library is great.
I want to efficiently remove items from a NonEmpty collection, but I'm not sure what the best strategy is. In the following example, I'm using IdentifiedArray.
Is this the de-facto approach?
Or this
Ideally, would want a more generic approach, with perhaps a default value, to guarantee the collection won't be empty.
Is this cool?
Beta Was this translation helpful? Give feedback.
All reactions