contains(_:)
Returns a Boolean value indicating whether the collection contains the given regex.
Declaration
func contains(_ regex: some RegexComponent) -> BoolParameters
- regex:
A regex to search for within this collection.
Return Value
true if the regex was found in the collection, otherwise false.