isPortrait

open override val isPortrait: Boolean

isPortrait checks if the device is currently in portrait mode

Return

true if the device is in portrait orientation, false otherwise