isEmptyObject() — tailwindcss Function Reference
Architecture documentation for the isEmptyObject() function in migrate-postcss.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 47af51c1_6ead_b867_dfc4_bb86ae033af0["isEmptyObject()"] 9c861556_2895_9b7c_50ec_d9aa3cfc5c68["migrate-postcss.ts"] 47af51c1_6ead_b867_dfc4_bb86ae033af0 -->|defined in| 9c861556_2895_9b7c_50ec_d9aa3cfc5c68 f1b5bbf3_f07f_1c1b_c721_2a6bcd9f638c["migratePostCSSJsonConfig()"] f1b5bbf3_f07f_1c1b_c721_2a6bcd9f638c -->|calls| 47af51c1_6ead_b867_dfc4_bb86ae033af0 style 47af51c1_6ead_b867_dfc4_bb86ae033af0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-upgrade/src/codemods/config/migrate-postcss.ts lines 346–348
function isEmptyObject(obj: any) {
return typeof obj === 'object' && obj !== null && Object.keys(obj).length === 0
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isEmptyObject() do?
isEmptyObject() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-upgrade/src/codemods/config/migrate-postcss.ts.
Where is isEmptyObject() defined?
isEmptyObject() is defined in packages/@tailwindcss-upgrade/src/codemods/config/migrate-postcss.ts at line 346.
What calls isEmptyObject()?
isEmptyObject() is called by 1 function(s): migratePostCSSJsonConfig.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free