github.com/outbrain/consul@v1.4.5/ui-v2/app/helpers/difference.js (about)

     1  import { helper } from '@ember/component/helper';
     2  import { get } from '@ember/object';
     3  export function difference(params, hash) {
     4    return params[0].filter(function(item) {
     5      return !params[1].findBy('ID', get(item, 'ID'));
     6    });
     7  }
     8  
     9  export default helper(difference);