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

x/packup/util.ts>isLocalUrl

📦 Zero-config web application packager for Deno
Go to Latest
function isLocalUrl
import { isLocalUrl } from "https://deno.land/x/packup@v0.2.4/util.ts";

Returns true if the URL refers to a local file, else retuns false if the URL is for an external resource.

Parameters

url: string

Returns

boolean