has() — tailwindcss Function Reference
Architecture documentation for the has() function in utilities.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD c53948a8_17fd_19f4_c907_0e43b245f8e4["has()"] c9955487_1860_09fc_569b_44f655a0567c["get()"] c9955487_1860_09fc_569b_44f655a0567c -->|calls| c53948a8_17fd_19f4_c907_0e43b245f8e4 67288f34_4598_cc76_2aaf_dbec4d450c56["getCompletions()"] 67288f34_4598_cc76_2aaf_dbec4d450c56 -->|calls| c53948a8_17fd_19f4_c907_0e43b245f8e4 ad196438_55f7_af7b_1604_1d75c1c27d8e["buildPluginApi()"] ad196438_55f7_af7b_1604_1d75c1c27d8e -->|calls| c53948a8_17fd_19f4_c907_0e43b245f8e4 6a3a8ab4_d53c_7516_c736_663c060fe979["compileAst()"] 6a3a8ab4_d53c_7516_c736_663c060fe979 -->|calls| c53948a8_17fd_19f4_c907_0e43b245f8e4 c9955487_1860_09fc_569b_44f655a0567c["get()"] c53948a8_17fd_19f4_c907_0e43b245f8e4 -->|calls| c9955487_1860_09fc_569b_44f655a0567c style c53948a8_17fd_19f4_c907_0e43b245f8e4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/utilities.ts lines 113–115
has(name: string, kind: 'static' | 'functional') {
return this.utilities.has(name) && this.utilities.get(name).some((fn) => fn.kind === kind)
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does has() do?
has() is a function in the tailwindcss codebase.
What does has() call?
has() calls 1 function(s): get.
What calls has()?
has() is called by 4 function(s): buildPluginApi, compileAst, get, getCompletions.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free