like method

bool like(
  1. IndexElementDefinition other
)

Implementation

bool like(IndexElementDefinition other) {
  return type == other.type && definition == other.definition;
}