import { Decoration_Type } from "./../../ricos-types/index.js";
const isLinkInText = (content) => {
  if (Array.isArray(content)) {
    const node = content.find((node2) => {
      return node2.type.name === "text";
    });
    return node?.marks.some((mark) => mark.type.name === Decoration_Type.LINK) ?? false;
  }
  return false;
};
export {
  isLinkInText
};
//# sourceMappingURL=is-link-in-text.js.map
