contains method

bool contains(
  1. GetTypePointers other
)

Implementation

bool contains(GetTypePointers other) {
  bool contains = false;
  visitElement((current) => contains = current == other);

  return contains;
}