
p.location-badge.
  exported from <a href='../change_detection'>angular2/change_detection</a>
  defined in <a href="https://github.com/angular/angular/tree/3a0410a/modules/angular2/src/change_detection/pipes/pipe.ts#L29-L56">angular2/src/change_detection/pipes/pipe.ts (line 29)</a>

:markdown
  An interface for extending the list of pipes known to Angular.
  
  If you are writing a custom <a href='Pipe-class.html'><code>Pipe</code></a>, you must extend this interface.
  
  #Example
  
  ```
  class DoublePipe extends Pipe {
   supports(obj) {
     return true;
   }
  
   transform(value) {
     return `${value}${value}`;
   }
  }
  ```
  
.l-main-section
  h2 Members
  .l-sub-section
    h3 supports

    
    pre.prettyprint
      code.
        supports(obj)
    
    :markdown

      
      





  .l-sub-section
    h3 onDestroy

    
    pre.prettyprint
      code.
        onDestroy()
    
    :markdown

      
      





  .l-sub-section
    h3 transform

    
    pre.prettyprint
      code.
        transform(value: any)
    
    :markdown

      
      




