@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.js CHANGED
@@ -6678,7 +6678,7 @@ var Tag = class {
6678
6678
  }
6679
6679
  };
6680
6680
  Tag.isTag = (tag) => {
6681
- return "$$mdtype" in tag && tag.$$mdtype === "Tag";
6681
+ return !!(tag?.$$mdtype === "Tag");
6682
6682
  };
6683
6683
 
6684
6684
  // src/schema-types/class.ts