Home / Function/ isMatch() — astro Function Reference

isMatch() — astro Function Reference

Architecture documentation for the isMatch() function in sirv.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  44245ac2_6008_19f8_a266_6d55d5afb9e1["isMatch()"]
  afcb3082_013d_93cb_836e_f55956dc999b["sirv.ts"]
  44245ac2_6008_19f8_a266_6d55d5afb9e1 -->|defined in| afcb3082_013d_93cb_836e_f55956dc999b
  style 44245ac2_6008_19f8_a266_6d55d5afb9e1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/partytown/src/sirv.ts lines 42–46

function isMatch(uri, arr) {
	for (const candidate of arr) {
		if (candidate.test(uri)) return true;
	}
}

Domain

Subdomains

Frequently Asked Questions

What does isMatch() do?
isMatch() is a function in the astro codebase, defined in packages/integrations/partytown/src/sirv.ts.
Where is isMatch() defined?
isMatch() is defined in packages/integrations/partytown/src/sirv.ts at line 42.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free