isPortrait function

bool isPortrait()

Implementation

bool isPortrait() {
  return Screen.orientation() == Orientation.portrait;
}