isRemoteImage() — astro Function Reference
Architecture documentation for the isRemoteImage() function in imageKind.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 198bf14a_73b0_fc2a_2c18_f7180c25a8f0["isRemoteImage()"] 860570b1_06ee_3485_050b_5336ee0d30ce["imageKind.ts"] 198bf14a_73b0_fc2a_2c18_f7180c25a8f0 -->|defined in| 860570b1_06ee_3485_050b_5336ee0d30ce style 198bf14a_73b0_fc2a_2c18_f7180c25a8f0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/utils/imageKind.ts lines 19–21
export function isRemoteImage(src: ImageMetadata | string): src is string {
return typeof src === 'string';
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does isRemoteImage() do?
isRemoteImage() is a function in the astro codebase, defined in packages/astro/src/assets/utils/imageKind.ts.
Where is isRemoteImage() defined?
isRemoteImage() is defined in packages/astro/src/assets/utils/imageKind.ts at line 19.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free