Skip to main content
Module

x/deno/tools/release/deps.ts>dax.PathRef#dirname

A modern runtime for JavaScript and TypeScript.
Latest
method dax.PathRef.prototype.dirname
Re-export
import { dax } from "https://deno.land/x/deno@v1.41.0/tools/release/deps.ts";
const { PathRef } = dax;

Gets the directory path. In most cases, it is recommended to use .parent() instead since it will give you a PathRef.

Returns

string