UNPKG

@stryke/path

Version:

A package containing various utilities that expand the functionality of NodeJs's built-in `path` module

8 lines (7 loc) 216 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isSystemRoot = void 0; const isSystemRoot = o => o === "/" || o === "c:\\" || o === "C:\\"; exports.isSystemRoot = isSystemRoot;