---
title: "isWord(inUserDictionaries:caseSensitive:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsspellserver/isword(inuserdictionaries:casesensitive:)"
---

# isWord(inUserDictionaries:caseSensitive:)

Indicates whether a given word is in the user’s list of learned words or the document’s list of words to ignore.

## Declaration

```swift
func isWord(inUserDictionaries word: String, caseSensitive flag: Bool) -> Bool
```

## Parameters

- `word`: The word to compare with those in the user dictionaries.
- `flag`: Specifies whether the comparison is case sensitive.

## Return Value

Return Value A Boolean value indicating whether the word is in the user dictionaries. If true, the word is acceptable to the user.
