Back to documentation
Is mobile
Returns true if the viewport is currently viewed as a mobile and false otherwise.
Information
Group: Viewport
Plan: Personal
Return type:
boolean
Added at: 2026-04-10
Returns true if the viewport is currently viewed as a mobile and false otherwise.
boolean