import { Node_Type } from "./../../ricos-schema/legacy/wix/rich_content/v1/index.js";
const isEmbedInSelection = (content) => {
  if (Array.isArray(content)) {
    const node = content.find((node2) => {
      return node2.type.name === Node_Type.EMBED;
    });
    return !!node;
  }
  return false;
};
export {
  isEmbedInSelection
};
//# sourceMappingURL=is-embed-in-selection.js.map
