contains Checks if slice contains character Signature contains(self, chr: CharT&) -> bool Specifiers const See Also Back to slice<Char, Traits>