Contents

isSupported(forLanguage:)

Returns a Boolean value that indicates whether the given language supports setting custom pronouns.

Declaration

static func isSupported(forLanguage language: String) -> Bool

Parameters

  • language:

    The language to query.

Return Value

true if the language supports custom pronouns; otherwise, false.

Discussion

If this value is false for a given language, calling setCustomPronoun(_:forLanguage:) for that language throws an error.

See Also

Assessing Custom Pronoun Support