isStaticSegment() — astro Function Reference
Architecture documentation for the isStaticSegment() function in create.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 0bedd941_49dc_491b_0670_fd6db1dff48d["isStaticSegment()"] a7eed989_9f2b_5163_ecdf_85920a8b973f["create.ts"] 0bedd941_49dc_491b_0670_fd6db1dff48d -->|defined in| a7eed989_9f2b_5163_ecdf_85920a8b973f style 0bedd941_49dc_491b_0670_fd6db1dff48d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/routing/manifest/create.ts lines 406–408
function isStaticSegment(segment: RoutePart[]) {
return segment.every((part) => !part.dynamic && !part.spread);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does isStaticSegment() do?
isStaticSegment() is a function in the astro codebase, defined in packages/astro/src/core/routing/manifest/create.ts.
Where is isStaticSegment() defined?
isStaticSegment() is defined in packages/astro/src/core/routing/manifest/create.ts at line 406.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free