bytes, strings: add ContainsFunc · Issue #54386 · golang/go

I propose to add ContainsFunc to package strings and bytes. // ContainsFunc reports whether any Unicode code points c within s satisfy f(c). func ContainsFunc(s string, f func(rune) bool) bool { re...