isRotationDegreesPortrait

fun Context.isRotationDegreesPortrait(@IntRange(from = 0, to = 359) rotationDegrees: Int): Boolean

Whether the rotation is portrait for this device.