isPortraitMode

external fun isPortraitMode(): Boolean

Tells if the device is in portrait orientation.

Return

True if in portrait, false if in landscape orientation.