Function ends_with

Source
pub fn ends_with(This: This<Arc<String>>, suffix: Arc<String>) -> bool
Expand description

Returns true if a string ends with another string.

ยงExample

"abc".endsWith("c") == true