overlaps method

bool overlaps(
  1. LayoutRange other
)

Implementation

bool overlaps(LayoutRange other) {
  if (end <= other.start || other.end <= start) {
    return false;
  }
  return true;
}