Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

isPhone property

Applies to Windows Phone only

Indicates whether the app is running on Windows Phone.

Syntax


var boolRef = WinJS.Utilities.isPhone;

Property value

Type: Boolean

Note  isPhone property is no longer available for use as of Windows 10
 

A boolean that indicates whether the app is running on Windows Phone

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.Utilities

 

 

Show: