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.