Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Add shouldContainNone and shouldNotContainAny with check lambda #210

Conversation

andersu
Copy link
Contributor

@andersu andersu commented Feb 10, 2022

Description

Added shouldContainNone and shouldNotContainAny with a check lambda similar to, but opposite of the existing shouldContainAny(check: (T) -> Boolean).

These two infix functions do the same thing. Please let me know if you want both or just one of them.

Checklist

  • I've added my name to the AUTHORS file, if it wasn't already present.

@MarkusAmshove MarkusAmshove merged commit 7a0d8f1 into MarkusAmshove:master Oct 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants