hasDefault() — tailwindcss Function Reference
Architecture documentation for the hasDefault() function in theme.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 9248ef05_c138_491c_7e01_0a040ad2062a["hasDefault()"] ffa1d3be_8116_7cd8_db2c_a42892f9c21a["applyConfigToTheme()"] ffa1d3be_8116_7cd8_db2c_a42892f9c21a -->|calls| 9248ef05_c138_491c_7e01_0a040ad2062a be7a0843_7490_00b8_ff59_a27552035f10["getOptions()"] 9248ef05_c138_491c_7e01_0a040ad2062a -->|calls| be7a0843_7490_00b8_ff59_a27552035f10 style 9248ef05_c138_491c_7e01_0a040ad2062a 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