src/vs/base/browser/ui/grid/grid.ts/getDirectionOrientation
function getDirectionOrientation(direction: Direction): Orientation {
	return direction === Direction.Up || direction === Direction.Down ? Orientation.VERTICAL : Orientation.HORIZONTAL;
}