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

x/deno/cli/tsc/dts/lib.dom.extras.d.ts>URLPatternResult

A modern runtime for JavaScript and TypeScript.
Latest
interface URLPatternResult
import { type URLPatternResult } from "https://deno.land/x/deno@v2.0.4/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.