isRenderInstance() — astro Function Reference
Architecture documentation for the isRenderInstance() function in common.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 29e098c3_67b0_7d8d_27b1_60ae6e29d145["isRenderInstance()"] dc345517_d883_7bce_edfa_c6cabf28094d["common.ts"] 29e098c3_67b0_7d8d_27b1_60ae6e29d145 -->|defined in| dc345517_d883_7bce_edfa_c6cabf28094d style 29e098c3_67b0_7d8d_27b1_60ae6e29d145 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/runtime/server/render/common.ts lines 167–169
export function isRenderInstance(obj: unknown): obj is RenderInstance {
return !!obj && typeof obj === 'object' && 'render' in obj && typeof obj.render === 'function';
}
Domain
Subdomains
Source
Frequently Asked Questions
What does isRenderInstance() do?
isRenderInstance() is a function in the astro codebase, defined in packages/astro/src/runtime/server/render/common.ts.
Where is isRenderInstance() defined?
isRenderInstance() is defined in packages/astro/src/runtime/server/render/common.ts at line 167.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free