Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method Node.prototype.root
Re-export
import { Node } from "https://deno.land/x/postcss@8.4.16/lib/postcss.d.ts";

Finds the Root instance of the node’s tree.

root.nodes[0].nodes[0].root() === root

Returns

Root parent.