contains(_:)
Determines if the text location you specify is in the current text range.
Declaration
func contains(_ location: any NSTextLocation) -> BoolParameters
- location:
An Nstextlocation.
Return Value
Returns true if the location is in the range otherwise false .