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

x/hex/src/generator/deps.ts>pathPosix.isAbsolute

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function pathPosix.isAbsolute
import { pathPosix } from "https://deno.land/x/hex@0.5.15/src/generator/deps.ts";
const { isAbsolute } = pathPosix;

Verifies whether provided path is absolute

Parameters

path: string

to be verified as absolute

Returns

boolean