docs: public static boolean equal(Comparable lhs, Comparable rhs) {
          assert lhs != null;
  
          if (rhs == null) {
              return false;
          }
  
          if (lhs.getClass() == rhs.getClass()) {
              return lhs.equals(rhs);
          }
  
          if (lhs instanceof Number && rhs instanceof Number) {
              return Numbers.equal((Number) lhs, (Number) rhs);
          }
  
          return lhs.equals(rhs);
      }