Skip to main content
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

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

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Utilities

Library

Base.js