ancestorOf

protected open infix fun ancestorOf(view: View): Boolean

Tells whether this View is an ancestor of the given View. A View is not considered an ancestor of itself.

Return

true if the given View is a descendant of this one

Parameters

view

The View