/**
 * Whether the Dara app is rendered inside an iframe carrying Dara page metadata.
 */
export function isEmbedded() {
    var _a;
    const frame = window.frameElement;
    return Boolean((_a = frame === null || frame === void 0 ? void 0 : frame.dataset) === null || _a === void 0 ? void 0 : _a.daraPageId);
}
//# sourceMappingURL=iframe.js.map