TypeScript문자열includes

includes문자열

지정 문자열이 포함되어 있는지 확인합니다.

문법

str.includes(searchStr, position?): boolean