Skip to main content
path.FormatInputPathObject.root - path - Node documentation
property path.FormatInputPathObject.root

Usage in Deno

import { type path } from "node:path";

The root of the path such as '/' or 'c:'

Type

string | undefined
Back to top