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
  24d2c88e_2e1e_e002_fb88_6a6e41b10158["isEmpty()"]
  c890fa7b_6e17_4e5d_74bf_b797d0f757b8["Stylesheet"]
  24d2c88e_2e1e_e002_fb88_6a6e41b10158 -->|defined in| c890fa7b_6e17_4e5d_74bf_b797d0f757b8
  style 24d2c88e_2e1e_e002_fb88_6a6e41b10158 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