isOrientationInPortraitMode function

bool isOrientationInPortraitMode()

Returns true if device orientation is in Portrait mode.

Implementation

bool isOrientationInPortraitMode() {
  return !isOrientationInLandscapeMode();
}