any method

bool any(
  1. FinderBase<Element> finder
)

Checks if finder exists in the tree.

Implementation

bool any(finders.FinderBase<Element> finder) {
  TestAsyncUtils.guardSync();
  return finder.evaluate().isNotEmpty;
}