On Tuesday, 8 October 2024 at 07:14:28 UTC, realhet wrote:
Is there a way to do it nicer with Phobos?
You can use `find` with a negated predicate: `find!(x => !x.front.all!isWhite)`
Dennis via Digitalmars-d-learn Tue, 08 Oct 2024 03:46:02 -0700
On Tuesday, 8 October 2024 at 07:14:28 UTC, realhet wrote:
Is there a way to do it nicer with Phobos?
You can use `find` with a negated predicate: `find!(x => !x.front.all!isWhite)`