hasWinRT property

Determines whether the Windows Runtime API is accessible in this context.

Syntax

 var winRT = WinJS.Utilities.hasWinRT;

Property value

Type: ****

true if it is possible to call Windows Runtime properties and methods in this context (for example, in a WinJS app), or false if it is not possible (for example, in an Internet Explorer script).

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities