Contents

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) -> Bool

Parameters

  • language:

    A language to compare parentage with.

Return Value

true if this language and language share a common parent; false otherwise.

See Also

Examining language relationships