isPhone property
Indicates whether the app is running on Windows Phone.
var boolRef = WinJS.Utilities.isPhone;
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
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.Utilities |