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

x/dtils/deps.ts>pathUtils.isAbsolute

The best unofficial library of utilities for Deno applications
Latest
function pathUtils.isAbsolute
import { pathUtils } from "https://deno.land/x/dtils@2.6.1/deps.ts";
const { isAbsolute } = pathUtils;

Verifies whether provided path is absolute

Parameters

path: string

to be verified as absolute

Returns

boolean