differentceBy differentceBy checkRelatedSites() { const notRelatedSites: Site[] = differenceBy(this.allSites, this.supportedSites, 'code'); this.notRelatedSitesNames = notRelatedSites.map(site => site.name).join('、'); }