Phaser API Documentation

  Version: 
<readonly> isPortrait: boolean

Description:

Is the device in a portrait orientation as reported by the Orientation API? This value is usually only available on mobile devices.

Type:
boolean
Since: 3.16.0