Home / Function/ isUrl() — tailwindcss Function Reference

isUrl() — tailwindcss Function Reference

Architecture documentation for the isUrl() function in infer-data-type.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  3f478823_f462_9861_2da5_1c0b6b6e989b["isUrl()"]
  43fe4735_10e8_ed1d_6f4f_74b2008c1b00["infer-data-type.ts"]
  3f478823_f462_9861_2da5_1c0b6b6e989b -->|defined in| 43fe4735_10e8_ed1d_6f4f_74b2008c1b00
  4ff0496f_f56a_cc01_37ae_02f2f39197d2["isImage()"]
  4ff0496f_f56a_cc01_37ae_02f2f39197d2 -->|calls| 3f478823_f462_9861_2da5_1c0b6b6e989b
  style 3f478823_f462_9861_2da5_1c0b6b6e989b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/utils/infer-data-type.ts lines 63–65

function isUrl(value: string): boolean {
  return IS_URL.test(value)
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does isUrl() do?
isUrl() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/utils/infer-data-type.ts.
Where is isUrl() defined?
isUrl() is defined in packages/tailwindcss/src/utils/infer-data-type.ts at line 63.
What calls isUrl()?
isUrl() is called by 1 function(s): isImage.

Analyze Your Own Codebase

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

Try Supermodel Free