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
  a0a52828_3acf_3f8b_7883_c98a98ca868d["is_root()"]
  53fcda14_433d_b98d_8ccd_5c1f3bb4d3c8["add_parents()"]
  53fcda14_433d_b98d_8ccd_5c1f3bb4d3c8 -->|calls| a0a52828_3acf_3f8b_7883_c98a98ca868d
  style a0a52828_3acf_3f8b_7883_c98a98ca868d 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()
    }

Subdomains

Called By

Frequently Asked Questions

What does is_root() do?
is_root() is a function in the tailwindcss codebase.
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