Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/esm/path/util.js>isFsPath

A JavaScript extension package for building strong and modern applications.
Latest
function isFsPath
import { isFsPath } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/path/util.js";

Checks if the given path is a file system path.

Examples

Example 1

import { isFsPath } from "@ayonli/jsext/path";

console.assert(isFsPath("/usr/bin"));
console.assert(isFsPath("C:\\Windows\\System32"));
console.assert(isFsPath("./foo/bar"));
console.assert(isFsPath("../foo/bar"));