WrappedValue

WrappedValue

Stable Class

Class Overview

class WrappedValue {
  static wrap(value: any) : WrappedValue
  constructor(wrapped: any)
  
  
  wrapped : any
}

Class Description

Indicates that the result of a Pipe transformation has changed even though the reference has not changed.

The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored.

Example:

if (this._latestValue === this._latestReturnedValue) {
   return this._latestReturnedValue;
 } else {
   this._latestReturnedValue =