TypeScript文字列includes
endsWith

includes文字列

slice

配列に指定した値が含まれているか確認します。

構文

str.includes(searchStr, position?): boolean