docs: public static boolean isOfSameType(YamlNode left, YamlNode right) {
          return left instanceof YamlMapping && right instanceof YamlMapping
                  || left instanceof YamlSequence && right instanceof YamlSequence
                  || left instanceof YamlScalar && right instanceof YamlScalar;
      }