TypeScript배열includes

includes배열

배열에 값이 포함되어 있는지 확인합니다.

문법

array.includes(value, fromIndex?): boolean