import { isWindowsPath } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/path/util.js";
Checks if the given path
is a Windows specific path.
Examples
Example 1
Example 1
import { isWindowsPath } from "@ayonli/jsext/path";
console.assert(isWindowsPath("C:\\Windows\\System32"));
console.assert(isWindowsPath("c:\\Windows\\System32")); // case-insensitive on volume
console.assert(isWindowsPath("D:/Program Files")); // forward slash is also valid
console.assert(isWindowsPath("E:")); // volume without path is also valid