2D-all?

berni someone at somemail.de
Fri Dec 14 12:43:40 UTC 2018


I've got a lot of code with two-dimensional arrays, where I use 
stuff like:

> assert(matrix.all!(a=>a.all!(b=>b>=0)));

Does anyone know if there is a 2D-version of all so I can write 
something like:

> assert(matrix.all2D!(a=>a>=0));


More information about the Digitalmars-d-learn mailing list