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

x/deno/cli/tsc/dts/lib.dom.extras.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.40.5/cli/tsc/dts/lib.dom.extras.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.