Home / Function/ isEmpty() — tailwindcss Function Reference

isEmpty() — tailwindcss Function Reference

Architecture documentation for the isEmpty() function in stylesheet.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  2e389bd1_172a_d911_2bfa_1545772ea7a3["isEmpty()"]
  b9897393_3e36_7806_d172_b9debcd215f6["Stylesheet"]
  2e389bd1_172a_d911_2bfa_1545772ea7a3 -->|defined in| b9897393_3e36_7806_d172_b9debcd215f6
  style 2e389bd1_172a_d911_2bfa_1545772ea7a3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-upgrade/src/stylesheet.ts lines 117–119

  get isEmpty() {
    return this.root.toString().trim() === ''
  }

Subdomains

Frequently Asked Questions

What does isEmpty() do?
isEmpty() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-upgrade/src/stylesheet.ts.
Where is isEmpty() defined?
isEmpty() is defined in packages/@tailwindcss-upgrade/src/stylesheet.ts at line 117.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free