Skip to content

std::String::slice<Char, Traits>::ends_with

ends_with

Checks if slice ends with needle

Signature

ends_with(self, needle: slice&) -> bool

Specifiers

  • const

See Also

Back to slice<Char, Traits>