p.location-badge. exported from angular2/annotations defined in angular2/src/core/annotations_impl/annotations.ts (line 1008) :markdown Declare reusable pipe function. ## Example ``` @Pipe({ name: 'lowercase' }) class Lowercase { transform(v, args) { return v.toLowerCase(); } } ``` .l-main-section h2 Annotations .l-sub-section h3.annotation CONST pre.prettyprint code. @CONST() .l-main-section h2 Members .l-sub-section h3 constructor pre.prettyprint code. constructor({name}: {name: string}) :markdown .l-sub-section h3 name :markdown