hasDefault() — tailwindcss Function Reference
Architecture documentation for the hasDefault() function in theme.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 94767d15_78cb_4d04_3e5b_62f8d0778fb3["hasDefault()"] 0a0af711_c5b8_1a31_60fe_678ff9771f13["applyConfigToTheme()"] 0a0af711_c5b8_1a31_60fe_678ff9771f13 -->|calls| 94767d15_78cb_4d04_3e5b_62f8d0778fb3 c8189e3c_da83_8664_ad35_d7e6af6bc483["getOptions()"] 94767d15_78cb_4d04_3e5b_62f8d0778fb3 -->|calls| c8189e3c_da83_8664_ad35_d7e6af6bc483 style 94767d15_78cb_4d04_3e5b_62f8d0778fb3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/theme.ts lines 121–123
hasDefault(key: string): boolean {
return (this.getOptions(key) & ThemeOptions.DEFAULT) === ThemeOptions.DEFAULT
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does hasDefault() do?
hasDefault() is a function in the tailwindcss codebase.
What does hasDefault() call?
hasDefault() calls 1 function(s): getOptions.
What calls hasDefault()?
hasDefault() is called by 1 function(s): applyConfigToTheme.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free