Home / Function/ is_root() — tailwindcss Function Reference

is_root() — tailwindcss Function Reference

Architecture documentation for the is_root() function in dir.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  844daf0e_68ec_1f36_a8b4_911d6fa9afad["is_root()"]
  112e0c3d_0ce6_e737_9feb_f610bf0ac4e0["dir.rs"]
  844daf0e_68ec_1f36_a8b4_911d6fa9afad -->|defined in| 112e0c3d_0ce6_e737_9feb_f610bf0ac4e0
  c1687b51_a4a4_d067_5da5_99414a82411d["add_parents()"]
  c1687b51_a4a4_d067_5da5_99414a82411d -->|calls| 844daf0e_68ec_1f36_a8b4_911d6fa9afad
  style 844daf0e_68ec_1f36_a8b4_911d6fa9afad fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/dir.rs lines 160–162

    pub(crate) fn is_root(&self) -> bool {
        self.0.parent.is_none()
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does is_root() do?
is_root() is a function in the tailwindcss codebase, defined in crates/ignore/src/dir.rs.
Where is is_root() defined?
is_root() is defined in crates/ignore/src/dir.rs at line 160.
What calls is_root()?
is_root() is called by 1 function(s): add_parents.

Analyze Your Own Codebase

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

Try Supermodel Free