isURL() — astro Function Reference
Architecture documentation for the isURL() function in util.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 16064a37_a9ba_33fa_09a5_4497e30069b3["isURL()"] a3824e79_205c_305b_a44f_edee1ef5faa4["util.ts"] 16064a37_a9ba_33fa_09a5_4497e30069b3 -->|defined in| a3824e79_205c_305b_a44f_edee1ef5faa4 style 16064a37_a9ba_33fa_09a5_4497e30069b3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/util.ts lines 17–19
export function isURL(value: unknown): value is URL {
return Object.prototype.toString.call(value) === '[object URL]';
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does isURL() do?
isURL() is a function in the astro codebase, defined in packages/astro/src/core/util.ts.
Where is isURL() defined?
isURL() is defined in packages/astro/src/core/util.ts at line 17.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free