contains(_:)
Determines if the text range you specify is in the current text range.
Declaration
func contains(_ textRange: NSTextRange) -> BoolParameters
- textRange:
An Nstextrange.
Return Value
Returns true if the range you provide is in the current range; otherwise false.