@markdoc/markdoc 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -6654,7 +6654,7 @@ var Tag = class {
6654
6654
  }
6655
6655
  };
6656
6656
  Tag.isTag = (tag) => {
6657
- return "$$mdtype" in tag && tag.$$mdtype === "Tag";
6657
+ return !!(tag?.$$mdtype === "Tag");
6658
6658
  };
6659
6659
 
6660
6660
  // src/schema-types/class.ts