import { Pipe, PipeTransform  } from '@angular/core';
import { isArray, isDeepObject, unwrapDeep, deepIndexOf } from '../utils/utils';

@Pipe({
  name: 'difference'
})
export class HavingPipe implements PipeTransform {
  
  transform (firstList?: any, secondList?: any): any {
    return firstList.filter((item: any) => secondList.indexOf(item) < 0);
    
    
 }
}