GlideSystem - isMobile()

Determine if a request came from a mobile device.

This method can be used in UI action conditions and business rules.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Boolean True if the request comes from a mobile device; otherwise, false.

Scoped equivalent

To use the isMobile() method in a scoped application, use the corresponding scoped method: Scoped GlideSystem - isMobile().

if (gs.isMobile())"submitted from mobile UI");
 else"NOT submitted from mobile UI");