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
  842df7b5_a67a_43d7_6ebc_3e0626db9330["isUrl()"]
  165df031_6b95_5f52_2eaf_a17f7b442cdb["isImage()"]
  165df031_6b95_5f52_2eaf_a17f7b442cdb -->|calls| 842df7b5_a67a_43d7_6ebc_3e0626db9330
  style 842df7b5_a67a_43d7_6ebc_3e0626db9330 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)
}

Subdomains

Called By

Frequently Asked Questions

What does isUrl() do?
isUrl() is a function in the tailwindcss codebase.
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