Is there a skipOver function for InputRanges?

Dennis dkorpel at gmail.com
Tue Oct 8 10:43:31 UTC 2024


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)`



More information about the Digitalmars-d-learn mailing list