hasCommonParent(with:)
Returns a Boolean value that indicates if the given language shares a common parent with this language.
Declaration
func hasCommonParent(with language: Locale.Language) -> BoolParameters
- language:
A language to compare parentage with.
Return Value
true if this language and language share a common parent; false otherwise.