← Back to index
interface URLPatternResult

URLPatternResult is the object returned from URLPattern.exec.

Properties

🔗
inputs: [URLPatternInit] | [URLPatternInit, string]

The inputs provided when matching.

🔗
protocol: URLPatternComponentResult

The matched result for the protocol matcher.

🔗
username: URLPatternComponentResult

The matched result for the username matcher.

🔗
password: URLPatternComponentResult

The matched result for the password matcher.

🔗
hostname: URLPatternComponentResult

The matched result for the hostname matcher.

🔗
port: URLPatternComponentResult

The matched result for the port matcher.

🔗
pathname: URLPatternComponentResult

The matched result for the pathname matcher.

🔗
hash: URLPatternComponentResult

The matched result for the hash matcher.