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

x/ayonli_jsext/path.ts>isPosixPath

A JavaScript extension package for building strong and modern applications.
Latest
function isPosixPath
Re-export
import { isPosixPath } from "https://deno.land/x/ayonli_jsext@v0.9.72/path.ts";

Checks if the given path is a Posix specific path.

Examples

Example 1

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

console.assert(isPosixPath("/usr/bin"));

Parameters

path: string

Returns

boolean