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

x/deno/ext/url/lib.deno_url.d.ts>URLPatternResult

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface URLPatternResult
import { type URLPatternResult } from "https://deno.land/x/deno@v1.29.1/ext/url/lib.deno_url.d.ts";

URLPatternResult is the object returned from URLPattern.exec.

Properties

inputs: [URLPatternInit] | [URLPatternInit, string]

The inputs provided when matching.

The matched result for the protocol matcher.

The matched result for the username matcher.

The matched result for the password matcher.

The matched result for the hostname matcher.

The matched result for the port matcher.

The matched result for the pathname matcher.

The matched result for the hash matcher.