Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dxx/src/lib/$shared.ts>intoPath

🚀 (Deno) enhanced executor
Latest
function intoPath
import { intoPath } from "https://deno.land/x/dxx@rf/src/lib/$shared.ts";

Extract the "path" from a path string (as an identity function) or URL.

  • no-throw ~ function returns undefined upon any error

Parameters

optional
path: string | URL

• path/URL-string (may already be in URL format [ie, 'file://...']) or URL