Contents

contains(_:)

Determines if the text range you specify is in the current text range.

Declaration

func contains(_ textRange: NSTextRange) -> Bool

Parameters

Return Value

Returns true if the range you provide is in the current range; otherwise false.

See Also

Finding text within the text range