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
Go to Latest
function pathUtils.isAbsolute
import { pathUtils } from "https://deno.land/x/dtils@2.4.0/deps.ts";
const { isAbsolute } = pathUtils;

Verifies whether provided path is absolute

Parameters

path: string

to be verified as absolute

Returns

boolean