import { PipeTransform , Pipe , NgModule } from '@angular/core' ; import { isUndefined } from '../utils/utils' ; @ Pipe ( { name : 'isUndefined' , } ) export class IsUndefinedPipe implements PipeTransform { transform ( value ) { return isUndefined ( value ) ; } } @ NgModule ( { declarations : [ IsUndefinedPipe ] , exports : [ IsUndefinedPipe ] , } ) export class NgIsUndefinedPipeModule { }