Share via


WinJS.Binding.unwrap function

Returns the original (non-observable) object is returned if the specified object is an observable proxy,

Syntax

var object = WinJS.Binding.unwrap(data);

Parameters

  • data
    Type: object

    The object for which to retrieve the original value.

Return value

Type: Object

If the specified object is an observable proxy, the original object is returned, otherwise the same object is returned.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding