Back

IsTablet

IsTablet returns "true" if the current device is a tablet and "false" if not.

app.IsTablet() -> boolean

Example - Example



function OnStart()
{
    tablet = app.IsTablet();
    app.ShowPopup( tablet );
}
    Copy     Copy All       Run