---
title: "hasLearnedWord(_:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/uitextchecker/haslearnedword(_:)"
---

# hasLearnedWord(_:)

Returns whether the text checker has learned the specified word.

## Declaration

```swift
class func hasLearnedWord(_ word: String) -> Bool
```

## Parameters

- `word`: A string representing a word.

## Return Value

Return Value true if the class has learned the word, otherwise false.

## See Also

### Learning and Ignoring Words

- [ignoreWord(_:)](uikit/uitextchecker/ignoreword(_:).md)
- [ignoredWords](uikit/uitextchecker/ignoredwords.md)
- [learnWord(_:)](uikit/uitextchecker/learnword(_:).md)
- [unlearnWord(_:)](uikit/uitextchecker/unlearnword(_:).md)
