select_only_of_type

[internal] returns elements that are the only element of their parent.

Source


def select_only_of_type(self):
    return self._nodes.select_only_of_type()