Contents

unignoredAncestor(of:)

Returns an unignored accessibility object, ascending the hierarchy, if necessary.

Declaration

static func unignoredAncestor(of element: Any) -> Any?

Discussion

Tests whether element is an ignored object, returning either element, if it is not ignored, or the first unignored ancestor of element.

See Also

Getting Accessibility Objects