In Expressions

Andrey via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Mar 4 11:31:46 PST 2017


On Saturday, 4 March 2017 at 17:57:16 UTC, John Colvin wrote:
> but to be honest, I would just repeat myself a bit and write
>
> if (regionAlign == RegionAlign.top ||
>     regionAlign == RegionAlign.bottom) {
> }

That's exactly what I did, just wondered - how to do such a thing.
Thank's for the detailed explanation.


More information about the Digitalmars-d-learn mailing list