docs: static void emitTypeGuard(Writer writer, Settings settings, boolean exportKeyword, String baseType, String subType, String propertyName, String propertyValue) {
          final String argument = Character.toLowerCase(baseType.charAt(0)) + baseType.substring(1);
          final String exportPrefix = exportKeyword ? "export " : "";
          writer.writeIndentedLine(String.format(exportPrefix + "function is%s(%s: %s): %s is %s {", subType, argument, baseType, argument, subType));
          writer.writeIndentedLine(String.format("%sreturn %s.%s === %s;", settings.indentString, argument, propertyName, settings.quotes + propertyValue + settings.quotes));
          writer.writeIndentedLine("}");
      }