Files
skills-here-run-place/node_modules/astro/dist/runtime/server/render/instruction.js
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

14 lines
383 B
JavaScript

const RenderInstructionSymbol = Symbol.for("astro:render");
function createRenderInstruction(instruction) {
return Object.defineProperty(instruction, RenderInstructionSymbol, {
value: true
});
}
function isRenderInstruction(chunk) {
return chunk && typeof chunk === "object" && chunk[RenderInstructionSymbol];
}
export {
createRenderInstruction,
isRenderInstruction
};