endsWith

endsWith

> 功能

确定 string 是否以 suffix 结尾。

设置

#### 反馈

#### 例子

endsWith("Hello", "day") // true endsWith("Hello", "Good") // false