std::core::string

ends_with

fn bool String.ends_with(self, String suffix)
Check if the String ends with the suffix.

Parameters