Skip to content

isMobile

isMobile(): boolean

Checks whether the app is running on a mobile device.

Returns

boolean

True is the app is running on a mobile device.

See

http://pixijs.download/dev/docs/PIXI.utils.html

Source

src/utils/PlatformUtils.ts:524