contains(_:)
Returns a Boolean value indicating whether the given element is contained within the range expression.
Declaration
func contains(_ element: Bound) -> BoolParameters
- element:
The element to check for containment.
Return Value
true if element is contained in the range expression; otherwise, false.