UNPKG

ng2-pipes

Version:
10 lines (7 loc) 223 B
import {PipeTransform, Pipe} from '@angular/core'; @Pipe({name: 'isIdenticalTo'}) export class IsIdenticalToPipe implements PipeTransform { transform(value: any, other: any): boolean { return value === other; } }