TypeScript문자열endsWith

endsWith문자열

지정 문자열로 끝나는지 확인합니다.

문법

str.endsWith(searchStr, endPosition?): boolean