将功能从包含更改为严格比较的方法?

Way to change function from include to strict comparison?

如何将此更改为严格的同情心==

if (this.Name) {
   conditions.push(this.filterName);
}

filterName(item) {
   return item.name.toString().includes(this.Name);
}

只是比较两个名字

filterName(item) {
   return item.name.toString() === this.Name;
}