URLPatternResult

interface

interface URLPatternResult

URLPatternResult is the object returned from URLPattern.exec.

Properties

inputs

inputs: [URLPatternInit] | [URLPatternInit, string]

The inputs provided when matching.

protocol

protocol: URLPatternComponentResult

The matched result for the protocol matcher.

username

username: URLPatternComponentResult

The matched result for the username matcher.

password

password: URLPatternComponentResult

The matched result for the password matcher.

hostname

hostname: URLPatternComponentResult

The matched result for the hostname matcher.

port

port: URLPatternComponentResult

The matched result for the port matcher.

pathname

pathname: URLPatternComponentResult

The matched result for the pathname matcher.

search: URLPatternComponentResult

The matched result for the search matcher.

hash

hash: URLPatternComponentResult

The matched result for the hash matcher.