supportsLocale(_:)
Returns a Boolean value that indicates whether the given locale is supported by the model.
Declaration
final func supportsLocale(_ locale: Locale = Locale.current) -> BoolMentioned in
Discussion
Use this method over supportedLanguages to check whether the given locale qualifies a person for using this model, as this method also takes language fallbacks into consideration.