astro-ghostcms/.pnpm-store/v3/files/c7/9d8457d92c6e9086858dc514a14...

16 lines
332 B
Plaintext

const headAndContentSym = Symbol.for("astro.headAndContent");
function isHeadAndContent(obj) {
return typeof obj === "object" && !!obj[headAndContentSym];
}
function createHeadAndContent(head, content) {
return {
[headAndContentSym]: true,
head,
content
};
}
export {
createHeadAndContent,
isHeadAndContent
};