Skip to main content
Module

x/packup/util.ts>isLocalUrl

📦 Zero-config web application packager in Deno
Go to Latest
function isLocalUrl
import { isLocalUrl } from "https://deno.land/x/packup@v0.2.2/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