Array.prototype.includes() - JavaScript | MDN

includes() は Array インスタンスのメソッドで、特定の要素が配列に含まれているかどうかを true または false で返します。