isEmptyObject() — tailwindcss Function Reference
Architecture documentation for the isEmptyObject() function in migrate-postcss.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD e7fc34a2_5d17_88b0_1f65_15dcb35df788["isEmptyObject()"] 9434c276_afef_dc51_650b_a8b408f077fc["migrate-postcss.ts"] e7fc34a2_5d17_88b0_1f65_15dcb35df788 -->|defined in| 9434c276_afef_dc51_650b_a8b408f077fc a91ee9d1_7968_6801_1de5_9ce7a305be96["migratePostCSSJsonConfig()"] a91ee9d1_7968_6801_1de5_9ce7a305be96 -->|calls| e7fc34a2_5d17_88b0_1f65_15dcb35df788 style e7fc34a2_5d17_88b0_1f65_15dcb35df788 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