TypeScript文字列endsWith
startsWith

endsWith文字列

includes

指定した文字列で終わるか確認します。

構文

str.endsWith(searchStr, endPosition?): boolean