Contents

contains(_:)

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

Declaration

func contains(_ location: any NSTextLocation) -> Bool

Parameters

Return Value

Returns true if the location is in the range otherwise false .

See Also

Finding text within the text range